145 lines
5.3 KiB
Text
145 lines
5.3 KiB
Text
[gd_scene load_steps=17 format=3 uid="uid://d0qyk6v20uief"]
|
|
|
|
[ext_resource type="Script" path="res://Systems/Game/ChessGame.gd" id="1_fkb2r"]
|
|
[ext_resource type="Script" path="res://Systems/StateMachine/GameStates/WhiteTurn.gd" id="3_276ip"]
|
|
[ext_resource type="Script" path="res://Systems/StateMachine/StateMachine.gd" id="3_lw81y"]
|
|
[ext_resource type="Script" path="res://Systems/StateMachine/GameStates/BlackTurn.gd" id="4_tl1oh"]
|
|
[ext_resource type="Script" path="res://Systems/StateMachine/GameStates/HandSetup.gd" id="5_4xbce"]
|
|
[ext_resource type="Script" path="res://Systems/StateMachine/GameStates/DrawPhase.gd" id="6_xlfb1"]
|
|
[ext_resource type="Script" path="res://Systems/StateMachine/GameStates/ResolvePersistentEffects.gd" id="7_1ufry"]
|
|
[ext_resource type="Script" path="res://Systems/StateMachine/GameStates/ApplyTileEffects.gd" id="8_h8ea3"]
|
|
[ext_resource type="Script" path="res://Systems/StateMachine/GameStates/PreMovePhase.gd" id="9_vq75e"]
|
|
[ext_resource type="Script" path="res://Systems/StateMachine/GameStates/AttachCards.gd" id="10_mkypi"]
|
|
[ext_resource type="Script" path="res://Systems/StateMachine/GameStates/ApplyCardEffects.gd" id="11_fqmmt"]
|
|
[ext_resource type="Script" path="res://Systems/StateMachine/GameStates/Movement.gd" id="12_l81sw"]
|
|
[ext_resource type="Script" path="res://Systems/StateMachine/GameStates/PostMovePhase.gd" id="13_d4fiw"]
|
|
[ext_resource type="Script" path="res://Systems/StateMachine/GameStates/EvaluatePosition.gd" id="14_icem8"]
|
|
[ext_resource type="Script" path="res://Systems/StateMachine/GameStates/CleanupPhase.gd" id="15_m58r8"]
|
|
[ext_resource type="Script" path="res://Systems/StateMachine/GameStates/RoundEnd.gd" id="16_8h5do"]
|
|
|
|
[node name="Board" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.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 = -50.0
|
|
offset_top = 50.0
|
|
offset_bottom = 89.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 = -48.0
|
|
offset_top = 100.0
|
|
offset_bottom = 140.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 = -50.0
|
|
offset_bottom = 50.0
|
|
grow_horizontal = 0
|
|
|
|
[node name="RichTextLabel" type="RichTextLabel" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 1062.0
|
|
offset_top = 65.0
|
|
offset_right = 1142.0
|
|
offset_bottom = 104.0
|
|
|
|
[node name="HBoxContainer" 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("../..")
|