Merge branch 'master' of github.com:unfa/jam-01 into master
commit
065ae9a51a
|
@ -168,7 +168,7 @@ master func on_hit(damage, location):
|
||||||
else:
|
else:
|
||||||
$Sounds/Pain.play()
|
$Sounds/Pain.play()
|
||||||
|
|
||||||
remote func blood_splatter(location):
|
sync func blood_splatter(location):
|
||||||
var effect = bodyHitEffect.instance()
|
var effect = bodyHitEffect.instance()
|
||||||
get_tree().root.add_child(effect)
|
get_tree().root.add_child(effect)
|
||||||
effect.global_transform.origin = location
|
effect.global_transform.origin = location
|
||||||
|
|
Reference in New Issue