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
|
|
@ -34,6 +34,7 @@ func _on_timer_timeout() -> void:
|
|||
|
||||
func _on_shoot_timer_timeout():
|
||||
var b = bullet_scene.instantiate()
|
||||
$Pew.play()
|
||||
get_tree().root.add_child(b)
|
||||
b.start(position)
|
||||
$ShootTimer.wait_time = randf_range(4, 20)
|
||||
|
|
@ -51,6 +52,7 @@ func hit_detection():
|
|||
EventBus.enemy_hit.emit(5)
|
||||
speed = 0
|
||||
$AnimationPlayer.play("explode")
|
||||
$ChickenHit.play()
|
||||
#set_deferred("monitoring", false)
|
||||
await $AnimationPlayer.animation_finished
|
||||
queue_free()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue