Recoil system

This commit is contained in:
Rendo 2025-11-26 18:53:39 +05:00
commit cdfce4c7db
11 changed files with 144 additions and 8 deletions

View file

@ -34,6 +34,7 @@ func fire() -> void:
raycast.get_collider().hp -= damage
fire_timer.start()
machine.player_camera.recoil(0,0.1)
func with_morphems(animation):
return machine.animation_prefix + ((animation+"_empty") if emptyable and machine.ammo == 0 else animation)