added breakable objects

This commit is contained in:
derek
2024-07-16 16:47:12 -05:00
parent afe19d8848
commit 262abd7d95
25 changed files with 2149 additions and 17 deletions

View File

@@ -188,6 +188,10 @@ func _physics_process(delta):
gun.anim_player.play("swap_out")
level_control.gun_spawn(level_control.current_gun_index - 1)
#quit game and eventually go to menu
if Input.is_action_pressed("escape"):
get_tree().quit()
move_and_slide()
weapon_tilt(input_dir.x, delta)
weapon_sway(delta)