feat: Implement initial player character, main game scene, 'stop and go' arena, and touch controls.

This commit is contained in:
Yogi Wiguna
2026-03-25 10:50:32 +08:00
parent 7ca63fea00
commit d20dca4b25
9 changed files with 387 additions and 88 deletions
+9 -11
View File
@@ -1366,10 +1366,7 @@ offset_bottom = 56.0
grow_horizontal = 0
text = "⚙"
[node name="TouchControls" type="CanvasLayer" parent="." unique_id=1390485948]
script = ExtResource("touch_manager")
[node name="TouchControls" type="Control" parent="TouchControls" unique_id=1539594058]
[node name="TouchControls" type="Control" parent="." unique_id=1539594058]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
@@ -1379,8 +1376,9 @@ grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
theme = ExtResource("18_pm3ni")
script = ExtResource("touch_manager")
[node name="VirtualJoystick" type="Control" parent="TouchControls/TouchControls" unique_id=1983608919]
[node name="VirtualJoystick" type="Control" parent="TouchControls" unique_id=1983608919]
visible = false
layout_mode = 1
anchors_preset = 2
@@ -1393,7 +1391,7 @@ offset_bottom = -120.0
grow_vertical = 0
script = ExtResource("virtual_joystick")
[node name="PowerBarBtn" type="VBoxContainer" parent="TouchControls/TouchControls" unique_id=278736451]
[node name="PowerBarBtn" type="VBoxContainer" parent="TouchControls" unique_id=278736451]
layout_mode = 0
offset_left = 47.858246
offset_top = 98.014656
@@ -1402,7 +1400,7 @@ offset_bottom = 265.01465
rotation = -0.10297442
theme_override_constants/separation = 10
[node name="AttackModeBtn" type="Button" parent="TouchControls/TouchControls/PowerBarBtn" unique_id=1380511463]
[node name="AttackModeBtn" type="Button" parent="TouchControls/PowerBarBtn" unique_id=1380511463]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
@@ -1412,7 +1410,7 @@ flat = true
icon_alignment = 1
expand_icon = true
[node name="TektonGrabBtn" type="Button" parent="TouchControls/TouchControls/PowerBarBtn" unique_id=2097928368]
[node name="TektonGrabBtn" type="Button" parent="TouchControls/PowerBarBtn" unique_id=2097928368]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
@@ -1421,7 +1419,7 @@ flat = true
icon_alignment = 1
expand_icon = true
[node name="InteractionBtn" type="VBoxContainer" parent="TouchControls/TouchControls" unique_id=1738242916]
[node name="InteractionBtn" type="VBoxContainer" parent="TouchControls" unique_id=1738242916]
layout_mode = 0
offset_left = 131.0
offset_top = 86.999985
@@ -1430,7 +1428,7 @@ offset_bottom = 254.0
rotation = -0.10297442
theme_override_constants/separation = 10
[node name="GrabBtn" type="Button" parent="TouchControls/TouchControls/InteractionBtn" unique_id=914810452]
[node name="GrabBtn" type="Button" parent="TouchControls/InteractionBtn" unique_id=914810452]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
@@ -1440,7 +1438,7 @@ flat = true
icon_alignment = 1
expand_icon = true
[node name="PutBtn" type="Button" parent="TouchControls/TouchControls/InteractionBtn" unique_id=1027790362]
[node name="PutBtn" type="Button" parent="TouchControls/InteractionBtn" unique_id=1027790362]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3