bullet feels better, added spike traps

This commit is contained in:
derek
2024-11-05 16:09:13 -06:00
parent 3002c6e2db
commit 83e2365892
23 changed files with 626 additions and 93 deletions

View File

@@ -465,3 +465,9 @@ func release_moveable():
held_item.mass = held_item_mass_cache
held_item.set_constant_force(Vector3(0,0,0))
held_item = null
func hit(damage,fired_by):
level_control.health -= damage
level_control.last_hit = fired_by
recoil.add_recoil(Vector3(.5,.1,.1),10,10)
hurt_audio.play()