diff --git a/Scenes/first_platform.gd b/Scenes/first_platform.gd index bbef7e9..a9d934c 100644 --- a/Scenes/first_platform.gd +++ b/Scenes/first_platform.gd @@ -36,6 +36,6 @@ func _on_Area_body_enter( body ): global.player.unlimit_rotation_range() if (!body.is_in_group("camera")): - body.get_parent().on_platform_passed() + body.get_parent().on_platform_passed() explode() \ No newline at end of file diff --git a/Scenes/platform.gd b/Scenes/platform.gd index b245d08..cfb52b7 100644 --- a/Scenes/platform.gd +++ b/Scenes/platform.gd @@ -68,9 +68,7 @@ func send_next_platform_limits(): global.player.unlimit_rotation_range() func explode(): - send_next_platform_limits() - if (global.sound_enabled): - get_node("RegularExplosion").play() + send_next_platform_limits() area.queue_free() for child in children.get_children(): child.explode() @@ -86,5 +84,7 @@ func meteorize(): func _on_Deleter_body_enter( body ): if (!body.is_in_group("camera")): body.get_parent().on_platform_passed() + if (global.sound_enabled): + get_node("RegularExplosion").play() explode() diff --git a/Scenes/platform.tscn b/Scenes/platform.tscn index 796a5b3..55d99a9 100644 --- a/Scenes/platform.tscn +++ b/Scenes/platform.tscn @@ -57,11 +57,11 @@ _update_shape_index = 0 ]] stream/stream = ExtResource( 2 ) -stream/play = true +stream/play = false stream/loop = false stream/volume_db = 10.0 stream/autoplay = false -stream/paused = true +stream/paused = false stream/loop_restart_time = 0.0 stream/buffering_ms = 500 diff --git a/export.cfg b/export.cfg index 97e0edf..a4d29f8 100644 --- a/export.cfg +++ b/export.cfg @@ -214,8 +214,8 @@ user_permissions/6="" user_permissions/7="" user_permissions/8="" user_permissions/9="" -version/code=8 -version/name="1.0.3" +version/code=9 +version/name="1.0.4" [platform:BlackBerry 10]