From 83962f7edb5656f383fcafbf15f336d432c5869d Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 2 Oct 2023 01:13:18 +0200 Subject: [PATCH] Move GravityFromGyro outside Bottle --- game/game.tscn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game/game.tscn b/game/game.tscn index 0f3152f..b916eec 100644 --- a/game/game.tscn +++ b/game/game.tscn @@ -15,8 +15,6 @@ script = ExtResource("1_i3ly0") [node name="Bottle" parent="." instance=ExtResource("1_y7o2l")] -[node name="GravityFromGyro" parent="Bottle" instance=ExtResource("2_h2pfr")] - [node name="TimeSpawner" parent="." node_paths=PackedStringArray("target") instance=ExtResource("3_qwsty")] position = Vector2(136, 40) scene = ExtResource("4_e5nwi") @@ -44,4 +42,6 @@ overlapping_body_count_limit = 4 position = Vector2(0, 40) shape = SubResource("RectangleShape2D_4uksi") +[node name="GravityFromGyro" parent="." instance=ExtResource("2_h2pfr")] + [connection signal="timeout" from="TimeSpawner/Timer" to="TimeSpawner" method="spawn"]