2026-04-13 11:34:00 -05:00
|
|
|
[gd_scene format=3 uid="uid://fbdci3d048m7"]
|
|
|
|
|
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://ct6tclctgdrkm" path="res://prefabs/board.tscn" id="1_e2o6t"]
|
|
|
|
|
[ext_resource type="Script" uid="uid://p10j5v8tlyb" path="res://game.gd" id="1_fc0e3"]
|
|
|
|
|
[ext_resource type="Script" uid="uid://c5vwubjdr23jr" path="res://prefabs/game_camera.gd" id="1_feb5d"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://caq4f3l237i42" path="res://prefabs/ui/controls.tscn" id="4_fc0e3"]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_fc0e3"]
|
|
|
|
|
content_margin_left = 10.0
|
|
|
|
|
content_margin_top = 10.0
|
|
|
|
|
content_margin_right = 10.0
|
|
|
|
|
content_margin_bottom = 10.0
|
|
|
|
|
bg_color = Color(1, 1, 1, 1)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_7jktm"]
|
|
|
|
|
bg_color = Color(0, 0, 0, 1)
|
|
|
|
|
corner_radius_top_left = 16
|
|
|
|
|
corner_radius_top_right = 16
|
|
|
|
|
corner_radius_bottom_right = 16
|
|
|
|
|
corner_radius_bottom_left = 16
|
|
|
|
|
|
|
|
|
|
[node name="Game" type="Node" unique_id=384379479]
|
|
|
|
|
script = ExtResource("1_fc0e3")
|
|
|
|
|
|
|
|
|
|
[node name="Control" type="Control" parent="." unique_id=161820979]
|
|
|
|
|
layout_mode = 3
|
|
|
|
|
anchors_preset = 15
|
|
|
|
|
anchor_right = 1.0
|
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
grow_vertical = 2
|
|
|
|
|
|
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="Control" unique_id=1771672320]
|
|
|
|
|
layout_mode = 1
|
|
|
|
|
anchors_preset = 15
|
|
|
|
|
anchor_right = 1.0
|
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
grow_vertical = 2
|
|
|
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_fc0e3")
|
|
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="Control/PanelContainer" unique_id=761660879]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
2026-04-15 10:45:43 -05:00
|
|
|
[node name="Controls" parent="Control/PanelContainer/VBoxContainer" unique_id=1719205711 instance=ExtResource("4_fc0e3")]
|
|
|
|
|
unique_name_in_owner = true
|
2026-04-13 11:34:00 -05:00
|
|
|
custom_minimum_size = Vector2(0, 50)
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_vertical = 4
|
|
|
|
|
|
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="Control/PanelContainer/VBoxContainer" unique_id=1428657222]
|
|
|
|
|
process_mode = 3
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_7jktm")
|
|
|
|
|
|
|
|
|
|
[node name="SubViewportContainer" type="SubViewportContainer" parent="Control/PanelContainer/VBoxContainer/PanelContainer" unique_id=444978634]
|
|
|
|
|
process_mode = 3
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
stretch = true
|
|
|
|
|
mouse_target = true
|
|
|
|
|
|
|
|
|
|
[node name="SubViewport" type="SubViewport" parent="Control/PanelContainer/VBoxContainer/PanelContainer/SubViewportContainer" unique_id=1761859829]
|
|
|
|
|
process_mode = 3
|
|
|
|
|
disable_3d = true
|
|
|
|
|
transparent_bg = true
|
|
|
|
|
handle_input_locally = false
|
|
|
|
|
physics_object_picking = true
|
|
|
|
|
size = Vector2i(1132, 574)
|
|
|
|
|
render_target_update_mode = 4
|
|
|
|
|
|
2026-04-15 10:45:43 -05:00
|
|
|
[node name="Camera2D" type="Camera2D" parent="Control/PanelContainer/VBoxContainer/PanelContainer/SubViewportContainer/SubViewport" unique_id=296841783]
|
2026-04-13 11:34:00 -05:00
|
|
|
anchor_mode = 0
|
2026-04-15 10:45:43 -05:00
|
|
|
zoom = Vector2(0.94, 0.94)
|
2026-04-13 11:34:00 -05:00
|
|
|
position_smoothing_enabled = true
|
|
|
|
|
drag_horizontal_enabled = true
|
|
|
|
|
drag_vertical_enabled = true
|
|
|
|
|
script = ExtResource("1_feb5d")
|
|
|
|
|
|
2026-04-15 10:45:43 -05:00
|
|
|
[node name="Board" parent="Control/PanelContainer/VBoxContainer/PanelContainer/SubViewportContainer/SubViewport" unique_id=752933545 instance=ExtResource("1_e2o6t")]
|
2026-04-13 11:34:00 -05:00
|
|
|
unique_name_in_owner = true
|