Sound effects
This commit is contained in:
parent
6ea21b3181
commit
6671b455c4
17 changed files with 94 additions and 6 deletions
|
@ -6,7 +6,8 @@ const BRICK_LAYER_BIT = 4
|
|||
|
||||
|
||||
func _ready():
|
||||
pass # Replace with function body.
|
||||
SoundFx.play_fx("Explosion", 1.5)
|
||||
pass
|
||||
|
||||
func _on_Hitbox_body_entered(body):
|
||||
if body.get_collision_layer_bit(BRICK_LAYER_BIT):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue