Final jam version submisson: added placeholder sounds, fixed character
flashing on game restart.
This commit is contained in:
parent
8679e817ee
commit
df13ee42d8
36 changed files with 400 additions and 58 deletions
|
|
@ -44,6 +44,7 @@ var horse_phase: bool = false
|
|||
#rotater.rotation_degrees - fmod(new_rotation, 360)
|
||||
|
||||
func start():
|
||||
$HorseWinnie.play()
|
||||
shoot_timer.start()
|
||||
rotate_direction = randi_range(0,1)
|
||||
print("Shoot timer started!")
|
||||
|
|
@ -61,6 +62,7 @@ func _process(_delta):
|
|||
|
||||
func spawn_bullet():
|
||||
var bullet = bullet_scene.instantiate()
|
||||
$Pew.play()
|
||||
get_tree().root.add_child(bullet)
|
||||
bullet.position = rotater.global_position
|
||||
bullet.rotation = rotater.global_rotation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue