432 lines
15 KiB
Text
432 lines
15 KiB
Text
[gd_scene load_steps=36 format=3 uid="uid://d0qyk6v20uief"]
|
|
|
|
[ext_resource type="Script" uid="uid://cbcu68o863pfp" path="res://Systems/Game/ChessGame.gd" id="1_fkb2r"]
|
|
[ext_resource type="Script" uid="uid://d2bfw6edgkhfa" path="res://Systems/StateMachine/GameStates/WhiteTurn.gd" id="3_276ip"]
|
|
[ext_resource type="Script" uid="uid://d374gcphjcd64" path="res://Systems/StateMachine/StateMachine.gd" id="3_lw81y"]
|
|
[ext_resource type="Script" uid="uid://c0bv30h81kpfh" path="res://Systems/StateMachine/GameStates/BlackTurn.gd" id="4_tl1oh"]
|
|
[ext_resource type="Script" uid="uid://dilhmg6yll1b5" path="res://Systems/StateMachine/GameStates/HandSetup.gd" id="5_4xbce"]
|
|
[ext_resource type="Script" uid="uid://gcstgtn6qibn" path="res://Systems/StateMachine/GameStates/DrawPhase.gd" id="6_xlfb1"]
|
|
[ext_resource type="Script" uid="uid://btjlt4t08xpkr" path="res://Systems/StateMachine/GameStates/ResolvePersistentEffects.gd" id="7_1ufry"]
|
|
[ext_resource type="Script" uid="uid://c8dujt7rgmewm" path="res://Systems/StateMachine/GameStates/ApplyTileEffects.gd" id="8_h8ea3"]
|
|
[ext_resource type="Script" uid="uid://iom2mj8nkjyl" path="res://Systems/StateMachine/GameStates/PreMovePhase.gd" id="9_vq75e"]
|
|
[ext_resource type="Script" uid="uid://ddk4pbq3qpb56" path="res://Systems/StateMachine/GameStates/AttachCards.gd" id="10_mkypi"]
|
|
[ext_resource type="Script" uid="uid://dwshyvjsmtsnk" path="res://Systems/StateMachine/GameStates/ApplyCardEffects.gd" id="11_fqmmt"]
|
|
[ext_resource type="Script" uid="uid://d008wm4s4f13n" path="res://Systems/StateMachine/GameStates/Movement.gd" id="12_l81sw"]
|
|
[ext_resource type="Script" uid="uid://ceygswx1lxgwa" path="res://Systems/StateMachine/GameStates/PostMovePhase.gd" id="13_d4fiw"]
|
|
[ext_resource type="Script" uid="uid://x5xhlydm4sqa" path="res://Systems/StateMachine/GameStates/EvaluatePosition.gd" id="14_icem8"]
|
|
[ext_resource type="Script" uid="uid://bhsnqkwpq6j07" path="res://Systems/StateMachine/GameStates/CleanupPhase.gd" id="15_m58r8"]
|
|
[ext_resource type="Script" uid="uid://bbcqcob12kjj8" path="res://Systems/StateMachine/GameStates/RoundEnd.gd" id="16_8h5do"]
|
|
[ext_resource type="Script" uid="uid://bdbap6f4c4d5w" path="res://Systems/Game/CameraController.gd" id="17_1epdx"]
|
|
[ext_resource type="Script" uid="uid://bf5ljae05pvla" path="res://Systems/Game/Menu/MenuContainer.gd" id="18_c1y73"]
|
|
[ext_resource type="Texture2D" uid="uid://bn0offg4w11w4" path="res://Assets/main_menu/label_continue.png" id="18_yr4pt"]
|
|
[ext_resource type="Theme" uid="uid://cuq0xndnachqb" path="res://Assets/Themes/Title.tres" id="19_enj45"]
|
|
[ext_resource type="Texture2D" uid="uid://b8khh5b1iwic1" path="res://Assets/main_menu/label_options.png" id="20_necaf"]
|
|
[ext_resource type="Script" uid="uid://dbm5dv81lbdod" path="res://Systems/Game/Menu/MenuOption.gd" id="20_qqo7d"]
|
|
[ext_resource type="Texture2D" uid="uid://bexpni52h8527" path="res://Assets/main_menu/characters.png" id="23_vmvai"]
|
|
[ext_resource type="Theme" uid="uid://btgbiqdc4kf15" path="res://Assets/Themes/SimpleMenuText.tres" id="24_4y4dr"]
|
|
[ext_resource type="Script" uid="uid://c47i2m0ll101x" path="res://Systems/Game/Menu/MenuTextOption.gd" id="24_aslgu"]
|
|
[ext_resource type="Script" uid="uid://j0m4rwr86oi6" path="res://Systems/Game/GameMenuScreen.gd" id="26_pb4ja"]
|
|
[ext_resource type="Script" uid="uid://bfjmon81nckns" path="res://Systems/Game/GameMenuButton.gd" id="26_t2e38"]
|
|
[ext_resource type="PackedScene" uid="uid://c7uqbcxdjoais" path="res://deck_manager_screen.tscn" id="28_4nyv8"]
|
|
[ext_resource type="PackedScene" uid="uid://dxiw67f3rrwue" path="res://map_screen.tscn" id="29_y7cv2"]
|
|
[ext_resource type="PackedScene" uid="uid://djw7jhwtnycxq" path="res://shop_screen.tscn" id="30_5rfmq"]
|
|
[ext_resource type="PackedScene" uid="uid://tmrvgfwodpno" path="res://reward_screen.tscn" id="31_d2oob"]
|
|
[ext_resource type="PackedScene" uid="uid://c6cgcs22ox0no" path="res://progression_screen.tscn" id="32_eq1pg"]
|
|
[ext_resource type="PackedScene" uid="uid://depsrpx00pnl5" path="res://lobby_shop_screen.tscn" id="33_ccaoj"]
|
|
[ext_resource type="PackedScene" uid="uid://c1u88sbx0am7b" path="res://lobby_screen.tscn" id="34_yqcr4"]
|
|
[ext_resource type="PackedScene" uid="uid://4oqq2vwhqpqn" path="res://hand_preload_screen.tscn" id="35_hqp5w"]
|
|
|
|
[node name="Board" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_right = 8.0
|
|
offset_bottom = -5.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_fkb2r")
|
|
|
|
[node name="Flow" type="FlowContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 5
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
offset_left = -252.0
|
|
offset_right = -252.0
|
|
grow_horizontal = 2
|
|
|
|
[node name="Player1Points" type="RichTextLabel" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 1
|
|
anchor_left = 1.0
|
|
anchor_right = 1.0
|
|
offset_left = -64.0
|
|
offset_top = 56.0
|
|
offset_right = -14.0
|
|
offset_bottom = 95.0
|
|
grow_horizontal = 0
|
|
|
|
[node name="Player2Points" type="RichTextLabel" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 1
|
|
anchor_left = 1.0
|
|
anchor_right = 1.0
|
|
offset_left = -61.0
|
|
offset_top = 104.0
|
|
offset_right = -13.0
|
|
offset_bottom = 144.0
|
|
grow_horizontal = 0
|
|
|
|
[node name="TurnIndicator" type="ColorRect" parent="."]
|
|
custom_minimum_size = Vector2(50, 50)
|
|
layout_mode = 1
|
|
anchors_preset = 1
|
|
anchor_left = 1.0
|
|
anchor_right = 1.0
|
|
offset_left = -63.0
|
|
offset_top = 6.0
|
|
offset_right = -13.0
|
|
offset_bottom = 56.0
|
|
grow_horizontal = 0
|
|
|
|
[node name="StateLabel" type="RichTextLabel" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 1
|
|
anchor_left = 1.0
|
|
anchor_right = 1.0
|
|
offset_left = -244.0
|
|
offset_top = 8.0
|
|
offset_right = -115.0
|
|
offset_bottom = 47.0
|
|
grow_horizontal = 0
|
|
|
|
[node name="Hand" type="HBoxContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 7
|
|
anchor_left = 0.5
|
|
anchor_top = 1.0
|
|
anchor_right = 0.5
|
|
anchor_bottom = 1.0
|
|
offset_left = -20.0
|
|
offset_top = -40.0
|
|
offset_right = 20.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 0
|
|
|
|
[node name="StateMachine" type="Node" parent="."]
|
|
script = ExtResource("3_lw81y")
|
|
|
|
[node name="WhiteTurn" type="Node" parent="StateMachine" node_paths=PackedStringArray("game")]
|
|
script = ExtResource("3_276ip")
|
|
game = NodePath("../..")
|
|
|
|
[node name="BlackTurn" type="Node" parent="StateMachine" node_paths=PackedStringArray("game")]
|
|
script = ExtResource("4_tl1oh")
|
|
game = NodePath("../..")
|
|
|
|
[node name="HandSetup" type="Node" parent="StateMachine" node_paths=PackedStringArray("game")]
|
|
script = ExtResource("5_4xbce")
|
|
game = NodePath("../..")
|
|
|
|
[node name="DrawPhase" type="Node" parent="StateMachine" node_paths=PackedStringArray("game")]
|
|
script = ExtResource("6_xlfb1")
|
|
game = NodePath("../..")
|
|
|
|
[node name="ResolvePersistentEffects" type="Node" parent="StateMachine" node_paths=PackedStringArray("game")]
|
|
script = ExtResource("7_1ufry")
|
|
game = NodePath("../..")
|
|
|
|
[node name="ApplyTileEffects" type="Node" parent="StateMachine" node_paths=PackedStringArray("game")]
|
|
script = ExtResource("8_h8ea3")
|
|
game = NodePath("../..")
|
|
|
|
[node name="PreMovePhase" type="Node" parent="StateMachine" node_paths=PackedStringArray("game")]
|
|
script = ExtResource("9_vq75e")
|
|
game = NodePath("../..")
|
|
|
|
[node name="AttachCards" type="Node" parent="StateMachine" node_paths=PackedStringArray("game")]
|
|
script = ExtResource("10_mkypi")
|
|
game = NodePath("../..")
|
|
|
|
[node name="ApplyCardEffects" type="Node" parent="StateMachine" node_paths=PackedStringArray("game")]
|
|
script = ExtResource("11_fqmmt")
|
|
game = NodePath("../..")
|
|
|
|
[node name="Movement" type="Node" parent="StateMachine" node_paths=PackedStringArray("game")]
|
|
script = ExtResource("12_l81sw")
|
|
game = NodePath("../..")
|
|
|
|
[node name="PostMovePhase" type="Node" parent="StateMachine" node_paths=PackedStringArray("game")]
|
|
script = ExtResource("13_d4fiw")
|
|
game = NodePath("../..")
|
|
|
|
[node name="EvaluatePosition" type="Node" parent="StateMachine" node_paths=PackedStringArray("game")]
|
|
script = ExtResource("14_icem8")
|
|
game = NodePath("../..")
|
|
|
|
[node name="CleanupPhase" type="Node" parent="StateMachine" node_paths=PackedStringArray("game")]
|
|
script = ExtResource("15_m58r8")
|
|
game = NodePath("../..")
|
|
|
|
[node name="RoundEnd" type="Node" parent="StateMachine" node_paths=PackedStringArray("game")]
|
|
script = ExtResource("16_8h5do")
|
|
game = NodePath("../..")
|
|
|
|
[node name="CameraController" type="Node2D" parent="."]
|
|
script = ExtResource("17_1epdx")
|
|
|
|
[node name="MenuContainer" type="MarginContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/margin_left = 120
|
|
theme_override_constants/margin_top = 80
|
|
theme_override_constants/margin_right = 120
|
|
theme_override_constants/margin_bottom = 80
|
|
script = ExtResource("18_c1y73")
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="MenuContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="MenuContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="TitleText" type="RichTextLabel" parent="MenuContainer/HBoxContainer/VBoxContainer"]
|
|
clip_contents = false
|
|
layout_mode = 2
|
|
size_flags_stretch_ratio = 0.0
|
|
theme = ExtResource("19_enj45")
|
|
text = "ChessBuilder"
|
|
fit_content = true
|
|
scroll_active = false
|
|
autowrap_mode = 0
|
|
tab_size = 1
|
|
shortcut_keys_enabled = false
|
|
deselect_on_focus_loss_enabled = false
|
|
drag_and_drop_selection_enabled = false
|
|
script = ExtResource("24_aslgu")
|
|
|
|
[node name="MenuOptions" type="VBoxContainer" parent="MenuContainer/HBoxContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
theme_override_constants/separation = 30
|
|
alignment = 1
|
|
|
|
[node name="Continue" type="TextureRect" parent="MenuContainer/HBoxContainer/VBoxContainer/MenuOptions"]
|
|
layout_mode = 2
|
|
texture = ExtResource("18_yr4pt")
|
|
stretch_mode = 2
|
|
script = ExtResource("20_qqo7d")
|
|
|
|
[node name="NewGameText" type="RichTextLabel" parent="MenuContainer/HBoxContainer/VBoxContainer/MenuOptions"]
|
|
layout_mode = 2
|
|
theme = ExtResource("24_4y4dr")
|
|
text = "New Game"
|
|
fit_content = true
|
|
scroll_active = false
|
|
autowrap_mode = 0
|
|
tab_size = 1
|
|
shortcut_keys_enabled = false
|
|
deselect_on_focus_loss_enabled = false
|
|
drag_and_drop_selection_enabled = false
|
|
script = ExtResource("24_aslgu")
|
|
|
|
[node name="Options" type="TextureRect" parent="MenuContainer/HBoxContainer/VBoxContainer/MenuOptions"]
|
|
layout_mode = 2
|
|
texture = ExtResource("20_necaf")
|
|
stretch_mode = 2
|
|
script = ExtResource("20_qqo7d")
|
|
|
|
[node name="VersionText" type="RichTextLabel" parent="MenuContainer/HBoxContainer/VBoxContainer"]
|
|
clip_contents = false
|
|
layout_mode = 2
|
|
size_flags_stretch_ratio = 0.0
|
|
theme = ExtResource("24_4y4dr")
|
|
text = "v."
|
|
fit_content = true
|
|
scroll_active = false
|
|
autowrap_mode = 0
|
|
tab_size = 1
|
|
shortcut_keys_enabled = false
|
|
deselect_on_focus_loss_enabled = false
|
|
drag_and_drop_selection_enabled = false
|
|
script = ExtResource("24_aslgu")
|
|
|
|
[node name="DeveloperText" type="RichTextLabel" parent="MenuContainer/HBoxContainer/VBoxContainer"]
|
|
clip_contents = false
|
|
layout_mode = 2
|
|
size_flags_stretch_ratio = 0.0
|
|
theme = ExtResource("24_4y4dr")
|
|
fit_content = true
|
|
scroll_active = false
|
|
autowrap_mode = 0
|
|
tab_size = 1
|
|
shortcut_keys_enabled = false
|
|
deselect_on_focus_loss_enabled = false
|
|
drag_and_drop_selection_enabled = false
|
|
script = ExtResource("24_aslgu")
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="MenuContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="GameImage" type="TextureRect" parent="MenuContainer/HBoxContainer/CenterContainer"]
|
|
layout_mode = 2
|
|
texture = ExtResource("23_vmvai")
|
|
|
|
[node name="GameMenuScreen" type="MarginContainer" parent="."]
|
|
visible = false
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/margin_left = 120
|
|
theme_override_constants/margin_top = 80
|
|
theme_override_constants/margin_right = 120
|
|
theme_override_constants/margin_bottom = 80
|
|
script = ExtResource("26_pb4ja")
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="GameMenuScreen"]
|
|
layout_mode = 2
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="GameMenuScreen/HBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="TitleText" type="RichTextLabel" parent="GameMenuScreen/HBoxContainer/VBoxContainer"]
|
|
clip_contents = false
|
|
layout_mode = 2
|
|
size_flags_stretch_ratio = 0.0
|
|
theme = ExtResource("19_enj45")
|
|
text = "ChessBuilder"
|
|
fit_content = true
|
|
scroll_active = false
|
|
autowrap_mode = 0
|
|
tab_size = 1
|
|
shortcut_keys_enabled = false
|
|
deselect_on_focus_loss_enabled = false
|
|
drag_and_drop_selection_enabled = false
|
|
script = ExtResource("24_aslgu")
|
|
|
|
[node name="GameOptions" type="VBoxContainer" parent="GameMenuScreen/HBoxContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
theme_override_constants/separation = 30
|
|
alignment = 1
|
|
|
|
[node name="ShopText" type="RichTextLabel" parent="GameMenuScreen/HBoxContainer/VBoxContainer/GameOptions"]
|
|
layout_mode = 2
|
|
theme = ExtResource("24_4y4dr")
|
|
text = "Dungeon Test Shop"
|
|
fit_content = true
|
|
scroll_active = false
|
|
autowrap_mode = 0
|
|
tab_size = 1
|
|
shortcut_keys_enabled = false
|
|
deselect_on_focus_loss_enabled = false
|
|
drag_and_drop_selection_enabled = false
|
|
script = ExtResource("26_t2e38")
|
|
|
|
[node name="LobbyText" type="RichTextLabel" parent="GameMenuScreen/HBoxContainer/VBoxContainer/GameOptions"]
|
|
layout_mode = 2
|
|
theme = ExtResource("24_4y4dr")
|
|
text = "Lobby
|
|
"
|
|
fit_content = true
|
|
scroll_active = false
|
|
autowrap_mode = 0
|
|
tab_size = 1
|
|
shortcut_keys_enabled = false
|
|
deselect_on_focus_loss_enabled = false
|
|
drag_and_drop_selection_enabled = false
|
|
script = ExtResource("26_t2e38")
|
|
|
|
[node name="MapText" type="RichTextLabel" parent="GameMenuScreen/HBoxContainer/VBoxContainer/GameOptions"]
|
|
layout_mode = 2
|
|
theme = ExtResource("24_4y4dr")
|
|
text = "Map"
|
|
fit_content = true
|
|
scroll_active = false
|
|
autowrap_mode = 0
|
|
tab_size = 1
|
|
shortcut_keys_enabled = false
|
|
deselect_on_focus_loss_enabled = false
|
|
drag_and_drop_selection_enabled = false
|
|
script = ExtResource("26_t2e38")
|
|
|
|
[node name="StartText" type="RichTextLabel" parent="GameMenuScreen/HBoxContainer/VBoxContainer/GameOptions"]
|
|
layout_mode = 2
|
|
theme = ExtResource("24_4y4dr")
|
|
text = "Start"
|
|
fit_content = true
|
|
scroll_active = false
|
|
autowrap_mode = 0
|
|
tab_size = 1
|
|
shortcut_keys_enabled = false
|
|
deselect_on_focus_loss_enabled = false
|
|
drag_and_drop_selection_enabled = false
|
|
script = ExtResource("26_t2e38")
|
|
|
|
[node name="BackText" type="RichTextLabel" parent="GameMenuScreen/HBoxContainer/VBoxContainer/GameOptions"]
|
|
layout_mode = 2
|
|
theme = ExtResource("24_4y4dr")
|
|
text = "Back"
|
|
fit_content = true
|
|
scroll_active = false
|
|
autowrap_mode = 0
|
|
tab_size = 1
|
|
shortcut_keys_enabled = false
|
|
deselect_on_focus_loss_enabled = false
|
|
drag_and_drop_selection_enabled = false
|
|
script = ExtResource("26_t2e38")
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="GameMenuScreen/HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="GameImage" type="TextureRect" parent="GameMenuScreen/HBoxContainer/CenterContainer"]
|
|
layout_mode = 2
|
|
texture = ExtResource("23_vmvai")
|
|
|
|
[node name="DeckManagerScreen" parent="." instance=ExtResource("28_4nyv8")]
|
|
visible = false
|
|
layout_mode = 1
|
|
|
|
[node name="MapScreen" parent="." instance=ExtResource("29_y7cv2")]
|
|
visible = false
|
|
layout_mode = 1
|
|
|
|
[node name="ShopScreen" parent="." instance=ExtResource("30_5rfmq")]
|
|
visible = false
|
|
layout_mode = 1
|
|
|
|
[node name="MapContainer" type="Control" parent="ShopScreen"]
|
|
clip_contents = true
|
|
custom_minimum_size = Vector2(800, 600)
|
|
layout_mode = 3
|
|
anchors_preset = 0
|
|
|
|
[node name="RewardScreen" parent="." instance=ExtResource("31_d2oob")]
|
|
visible = false
|
|
layout_mode = 1
|
|
|
|
[node name="ProgressionScreen" parent="." instance=ExtResource("32_eq1pg")]
|
|
visible = false
|
|
layout_mode = 1
|
|
|
|
[node name="LobbyShopScreen" parent="." instance=ExtResource("33_ccaoj")]
|
|
visible = false
|
|
layout_mode = 1
|
|
|
|
[node name="LobbyScreen" parent="." instance=ExtResource("34_yqcr4")]
|
|
visible = false
|
|
layout_mode = 1
|
|
|
|
[node name="HandPreloadScreen" parent="." instance=ExtResource("35_hqp5w")]
|
|
visible = false
|
|
layout_mode = 1
|