2023-10-01 13:40:42 +00:00
|
|
|
[gd_scene load_steps=6 format=3 uid="uid://c3rxmcwa5nqng"]
|
2023-10-01 12:39:16 +00:00
|
|
|
|
2023-10-01 13:40:42 +00:00
|
|
|
[ext_resource type="Script" path="res://game/game.gd" id="1_i3ly0"]
|
2023-10-01 12:39:16 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://bllsprv8orpn4" path="res://bottle/bottle.tscn" id="1_y7o2l"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://d05b8jy3xmpcb" path="res://bottle/gravity_from_gyro.tscn" id="2_h2pfr"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://c67lfbk4gf1ga" path="res://spawner/spawner.tscn" id="3_qwsty"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://c3kitncwpi42j" path="res://entity/coin_copper.tscn" id="4_e5nwi"]
|
|
|
|
|
|
|
|
[node name="Game" type="Node2D"]
|
|
|
|
texture_filter = 1
|
2023-10-01 13:40:42 +00:00
|
|
|
script = ExtResource("1_i3ly0")
|
2023-10-01 12:39:16 +00:00
|
|
|
|
|
|
|
[node name="Bottle" parent="." instance=ExtResource("1_y7o2l")]
|
|
|
|
|
|
|
|
[node name="GravityFromGyro" parent="Bottle" instance=ExtResource("2_h2pfr")]
|
|
|
|
|
|
|
|
[node name="TimeSpawner" parent="." instance=ExtResource("3_qwsty")]
|
|
|
|
position = Vector2(0, -480)
|
|
|
|
scene = ExtResource("4_e5nwi")
|
|
|
|
buffer_cap = 1
|
|
|
|
spawn_position_range_x = 32.0
|
|
|
|
spawn_rotation_range = 15.0
|
|
|
|
overlapping_bodies_collision_mask = 4
|
|
|
|
overlapping_body_count_limit = 4
|
|
|
|
|
|
|
|
[node name="Timer" type="Timer" parent="TimeSpawner"]
|
2023-10-01 16:56:15 +00:00
|
|
|
wait_time = 0.017
|
|
|
|
autostart = true
|
2023-10-01 12:39:16 +00:00
|
|
|
|
|
|
|
[node name="ButtonSpawner" parent="." instance=ExtResource("3_qwsty")]
|
|
|
|
position = Vector2(0, -480)
|
|
|
|
scene = ExtResource("4_e5nwi")
|
|
|
|
buffer_cap = 50
|
|
|
|
spawn_position_range_x = 32.0
|
|
|
|
spawn_rotation_range = 15.0
|
|
|
|
overlapping_bodies_collision_mask = 4
|
|
|
|
overlapping_body_count_limit = 4
|
|
|
|
|
|
|
|
[connection signal="timeout" from="TimeSpawner/Timer" to="TimeSpawner" method="spawn"]
|