forked from team-sg/hero-mark-2
added music to canopy
This commit is contained in:
parent
a47c0bfffc
commit
f5191bdac6
6 changed files with 214 additions and 54 deletions
|
@ -96,7 +96,7 @@ script = ExtResource( 2 )
|
|||
position = Vector2( 4, 2 )
|
||||
texture = ExtResource( 1 )
|
||||
region_enabled = true
|
||||
region_rect = Rect2( 13, 0, 13, 12 )
|
||||
region_rect = Rect2( 0, 0, 13, 12 )
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
playback_process_mode = 0
|
||||
|
|
|
@ -21,9 +21,6 @@ func _on_AnimationPlayer_animation_finished(anim_name):
|
|||
anims.play("idle")
|
||||
flip_timer.start(time_ms)
|
||||
|
||||
func _physics_process(delta):
|
||||
Debug.print(delay_timer.get_time_left())
|
||||
|
||||
func _on_FlipTimer_timeout():
|
||||
anims.play("turn")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue