feat: implement Stop N Go arena, animation system, and lobby manager features

This commit is contained in:
Yogi Wiguna
2026-03-30 15:06:21 +08:00
parent 52d9b4bffb
commit 42e96a7ed9
45 changed files with 1110 additions and 79 deletions
+72 -1
View File
@@ -156,6 +156,58 @@ tracks/11/keys = {
"values": [true]
}
[sub_resource type="Animation" id="Animation_go_loop"]
resource_name = "go_animation"
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("ReadyGo/TextureRect:scale")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.5, 1),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Vector2(0.75, 0.75), Vector2(0.9, 0.9), Vector2(0.75, 0.75)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("ReadyGo/TextureRect:texture")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [ExtResource("27_t05ex")]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("ReadyGo/TextureRect:pivot_offset")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(375, 231)]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("ReadyGo:visible")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [true]
}
[sub_resource type="Animation" id="Animation_bbp28"]
resource_name = "ready-go"
length = 4.0
@@ -332,6 +384,7 @@ tracks/4/keys = {
[sub_resource type="AnimationLibrary" id="AnimationLibrary_emg7w"]
_data = {
&"RESET": SubResource("Animation_pfi5j"),
&"go_animation": SubResource("Animation_go_loop"),
&"ready-go": SubResource("Animation_bbp28"),
&"safe-zone-appear": SubResource("Animation_2hrhd"),
&"stop-phase": SubResource("Animation_i0235")
@@ -457,12 +510,30 @@ anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
[node name="CountDownAnimation" type="AnimatedSprite2D" parent="CountDown" unique_id=1053910485]
position = Vector2(683, 360)
scale = Vector2(0.75, 0.75)
sprite_frames = ExtResource("24_u10lt")
animation = &"15s"
animation = &"go_animation"
[node name="GoFinish" type="Control" parent="." unique_id=1244747969]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
[node name="GoAnimation2D" type="AnimatedSprite2D" parent="GoFinish" unique_id=1419741041]
position = Vector2(927, 360)
scale = Vector2(0.78, 0.59833336)
sprite_frames = ExtResource("24_u10lt")
animation = &"go_animation"
frame_progress = 0.30336955
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1614214519]
libraries/ = SubResource("AnimationLibrary_emg7w")