set up controller look

This commit is contained in:
Derek
2024-12-08 22:14:22 -06:00
parent bfce40cdc1
commit 81f86396e0
6 changed files with 45 additions and 7 deletions

View File

@@ -89,6 +89,7 @@ func shoot(delta):
audio_fire.pitch_scale = 1 + rng.randf_range(-fire_pitch_scale_amt,fire_pitch_scale_amt)
audio_fire.play()
anim_player.play("shoot")
vibration()
bullet_fire()
hitscan_fire()
spawn_casing()
@@ -169,3 +170,6 @@ func hitscan_fire():
func swapped_out():
queue_free()
func vibration():
Input.start_joy_vibration(0,.1,.5,.1)