2024-10-05 15:57:40 +00:00
|
|
|
[gd_scene load_steps=4 format=3 uid="uid://decsef3jj3lt5"]
|
2024-10-05 10:39:19 +00:00
|
|
|
|
2024-10-05 15:57:40 +00:00
|
|
|
[ext_resource type="Script" path="res://game.gd" id="1_bhcvq"]
|
2024-10-05 10:39:19 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://bhvihrt8dipll" path="res://button.tscn" id="1_j4pve"]
|
|
|
|
|
2024-10-05 15:57:40 +00:00
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_sesmb"]
|
2024-10-06 12:18:16 +00:00
|
|
|
size = Vector2(995, 433.534)
|
2024-10-05 15:57:40 +00:00
|
|
|
|
2024-10-05 10:39:19 +00:00
|
|
|
[node name="Game" type="Node2D"]
|
2024-10-05 20:09:04 +00:00
|
|
|
process_mode = 3
|
2024-10-05 15:57:40 +00:00
|
|
|
script = ExtResource("1_bhcvq")
|
|
|
|
|
|
|
|
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
|
|
|
layer = -1
|
|
|
|
follow_viewport_enabled = true
|
|
|
|
|
|
|
|
[node name="BackgroundColor" type="ColorRect" parent="CanvasLayer"]
|
|
|
|
z_index = -2
|
|
|
|
offset_right = 1150.0
|
|
|
|
offset_bottom = 650.0
|
|
|
|
|
|
|
|
[node name="DamageColorOverlay" type="ColorRect" parent="CanvasLayer"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
offset_right = 1152.0
|
|
|
|
offset_bottom = 654.0
|
|
|
|
scale = Vector2(1.00712, 1.00483)
|
|
|
|
color = Color(0.623529, 0.14902, 0.184314, 0.592157)
|
2024-10-05 10:39:19 +00:00
|
|
|
|
|
|
|
[node name="A" parent="." groups=["button_group"] instance=ExtResource("1_j4pve")]
|
2024-10-05 15:57:40 +00:00
|
|
|
position = Vector2(872, 515)
|
2024-10-05 10:39:19 +00:00
|
|
|
input_name = "A"
|
2024-10-05 20:09:04 +00:00
|
|
|
color_mix = Color(1.01075e-06, 0.583986, 0.337423, 1)
|
2024-10-05 10:39:19 +00:00
|
|
|
|
2024-10-06 12:18:16 +00:00
|
|
|
[node name="DOWN" parent="." groups=["button_group"] instance=ExtResource("1_j4pve")]
|
|
|
|
position = Vector2(236, 515)
|
|
|
|
input_name = "DOWN"
|
|
|
|
color_mix = Color(1.01075e-06, 0.583986, 0.337423, 1)
|
|
|
|
|
|
|
|
[node name="UP" parent="." groups=["button_group"] instance=ExtResource("1_j4pve")]
|
|
|
|
position = Vector2(236, 330)
|
|
|
|
input_name = "UP"
|
|
|
|
color_mix = Color(1.01075e-06, 0.583986, 0.337423, 1)
|
|
|
|
|
|
|
|
[node name="RIGHT" parent="." groups=["button_group"] instance=ExtResource("1_j4pve")]
|
|
|
|
position = Vector2(334, 422)
|
|
|
|
input_name = "RIGHT"
|
|
|
|
color_mix = Color(1.01075e-06, 0.583986, 0.337423, 1)
|
|
|
|
|
|
|
|
[node name="LEFT" parent="." groups=["button_group"] instance=ExtResource("1_j4pve")]
|
|
|
|
position = Vector2(143, 422)
|
|
|
|
input_name = "LEFT"
|
|
|
|
color_mix = Color(1.01075e-06, 0.583986, 0.337423, 1)
|
|
|
|
|
2024-10-05 15:57:40 +00:00
|
|
|
[node name="Y" parent="." groups=["button_group"] instance=ExtResource("1_j4pve")]
|
|
|
|
position = Vector2(872, 330)
|
|
|
|
input_name = "Y"
|
2024-10-05 20:09:04 +00:00
|
|
|
color_mix = Color(0.917, 1, 0.17, 1)
|
2024-10-05 15:57:40 +00:00
|
|
|
|
|
|
|
[node name="X" parent="." groups=["button_group"] instance=ExtResource("1_j4pve")]
|
|
|
|
position = Vector2(777, 422)
|
|
|
|
input_name = "X"
|
2024-10-05 20:09:04 +00:00
|
|
|
color_mix = Color(0, 0.424825, 0.812361, 1)
|
2024-10-05 15:57:40 +00:00
|
|
|
|
2024-10-05 20:09:04 +00:00
|
|
|
[node name="B" parent="." groups=["button_group"] instance=ExtResource("1_j4pve")]
|
2024-10-05 15:57:40 +00:00
|
|
|
position = Vector2(954, 422)
|
2024-10-05 10:39:19 +00:00
|
|
|
input_name = "B"
|
2024-10-05 20:09:04 +00:00
|
|
|
color_mix = Color(0.735073, 0.468616, 3.85046e-07, 1)
|
2024-10-05 15:57:40 +00:00
|
|
|
|
|
|
|
[node name="SpawnArea" type="Area2D" parent="."]
|
2024-10-05 20:09:04 +00:00
|
|
|
scale = Vector2(1, 1.02189)
|
2024-10-05 15:57:40 +00:00
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="SpawnArea"]
|
2024-10-06 12:18:16 +00:00
|
|
|
position = Vector2(569.5, 378.233)
|
2024-10-05 15:57:40 +00:00
|
|
|
shape = SubResource("RectangleShape2D_sesmb")
|
|
|
|
debug_color = Color(0, 0.6, 0.701961, 0.14902)
|
2024-10-05 20:09:04 +00:00
|
|
|
|
|
|
|
[node name="SpawnTimer" type="Timer" parent="."]
|
|
|
|
wait_time = 0.5
|
|
|
|
autostart = true
|
|
|
|
|
|
|
|
[connection signal="timeout" from="SpawnTimer" to="." method="_on_spawn_timer_timeout"]
|