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
|
|
@ -2,6 +2,7 @@ extends Area2D
|
|||
|
||||
func _ready() -> void:
|
||||
EventBus.heart_beat.connect(_on_heart_beat)
|
||||
|
||||
|
||||
func _on_heart_beat(tempo: float):
|
||||
if tempo == 0:
|
||||
|
|
@ -10,3 +11,4 @@ func _on_heart_beat(tempo: float):
|
|||
tween.tween_property(self, "modulate",Color(0,0,0), 2.5)
|
||||
elif tempo > 0:
|
||||
$AnimationPlayer.set_speed_scale(tempo)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue