forked from team-sg/hero-mark-2
All audio stuff moved to audio autoload and removed game.tscn in favor of just game.gd
This commit is contained in:
parent
30cfad6e7e
commit
e1a30188a6
21 changed files with 134 additions and 97 deletions
|
@ -2,7 +2,7 @@ extends "res://objects/enemy/enemy.gd"
|
|||
|
||||
func _ready():
|
||||
$AnimatedSprite.play("explode")
|
||||
Game.play_sound(Game.a_die_robot,Game.ac_die)
|
||||
Audio.play_sound(Audio.a_die_robot,Audio.ac_die)
|
||||
|
||||
func _on_animation_finished():
|
||||
queue_free()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue