297 lines
9.4 KiB
Plaintext
297 lines
9.4 KiB
Plaintext
[gd_scene format=3 uid="uid://dqveewprna0jt"]
|
|
|
|
[ext_resource type="Script" uid="uid://6afx0iw42x0b" path="res://scripts/control.gd" id="1_d4uqn"]
|
|
[ext_resource type="Texture2D" uid="uid://c0d0vvj7grl0p" path="res://res/Dornenkrone.png" id="2_c2amw"]
|
|
[ext_resource type="Texture2D" uid="uid://8pdker6o48mu" path="res://res/Spielfeld.png" id="2_enxcm"]
|
|
[ext_resource type="Texture2D" uid="uid://42igluxsxh0i" path="res://res/Rankenkreuz.png" id="3_e5yio"]
|
|
|
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_vkh10"]
|
|
texture = ExtResource("2_enxcm")
|
|
|
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_kjodg"]
|
|
texture = ExtResource("2_enxcm")
|
|
|
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_rrjto"]
|
|
texture = ExtResource("2_enxcm")
|
|
|
|
[node name="TicTacToe" type="Node2D" unique_id=1284704153]
|
|
|
|
[node name="Control" type="Control" parent="." unique_id=643084856]
|
|
layout_mode = 3
|
|
anchors_preset = 0
|
|
offset_right = 40.0
|
|
offset_bottom = 40.0
|
|
script = ExtResource("1_d4uqn")
|
|
|
|
[node name="Board" type="GridContainer" parent="Control" unique_id=106189434]
|
|
custom_minimum_size = Vector2(500, 500)
|
|
layout_mode = 0
|
|
offset_right = 500.0
|
|
offset_bottom = 500.0
|
|
columns = 3
|
|
|
|
[node name="Button7_ObenLinks" type="Button" parent="Control/Board" unique_id=1766568008]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme_override_styles/normal = SubResource("StyleBoxTexture_vkh10")
|
|
theme_override_styles/pressed = SubResource("StyleBoxTexture_kjodg")
|
|
theme_override_styles/hover = SubResource("StyleBoxTexture_rrjto")
|
|
|
|
[node name="PieceTexture" type="TextureRect" parent="Control/Board/Button7_ObenLinks" unique_id=1165030818]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
texture = ExtResource("2_c2amw")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="PieceTexture2" type="TextureRect" parent="Control/Board/Button7_ObenLinks" unique_id=1859763733]
|
|
layout_mode = 0
|
|
mouse_filter = 2
|
|
texture = ExtResource("3_e5yio")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="Button8_ObenMitte" type="Button" parent="Control/Board" unique_id=1708324161]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme_override_styles/normal = SubResource("StyleBoxTexture_vkh10")
|
|
theme_override_styles/pressed = SubResource("StyleBoxTexture_kjodg")
|
|
theme_override_styles/hover = SubResource("StyleBoxTexture_rrjto")
|
|
|
|
[node name="PieceTexture" type="TextureRect" parent="Control/Board/Button8_ObenMitte" unique_id=1719206029]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
texture = ExtResource("2_c2amw")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="PieceTexture2" type="TextureRect" parent="Control/Board/Button8_ObenMitte" unique_id=524101128]
|
|
layout_mode = 0
|
|
mouse_filter = 2
|
|
texture = ExtResource("3_e5yio")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="Button9_ObenRechts" type="Button" parent="Control/Board" unique_id=88820554]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme_override_styles/normal = SubResource("StyleBoxTexture_vkh10")
|
|
theme_override_styles/pressed = SubResource("StyleBoxTexture_kjodg")
|
|
theme_override_styles/hover = SubResource("StyleBoxTexture_rrjto")
|
|
|
|
[node name="PieceTexture" type="TextureRect" parent="Control/Board/Button9_ObenRechts" unique_id=1251697558]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
texture = ExtResource("2_c2amw")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="PieceTexture2" type="TextureRect" parent="Control/Board/Button9_ObenRechts" unique_id=2027318618]
|
|
layout_mode = 0
|
|
mouse_filter = 2
|
|
texture = ExtResource("3_e5yio")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="Button4_MitteLinks" type="Button" parent="Control/Board" unique_id=1367556442]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme_override_styles/normal = SubResource("StyleBoxTexture_vkh10")
|
|
theme_override_styles/pressed = SubResource("StyleBoxTexture_kjodg")
|
|
theme_override_styles/hover = SubResource("StyleBoxTexture_rrjto")
|
|
|
|
[node name="PieceTexture" type="TextureRect" parent="Control/Board/Button4_MitteLinks" unique_id=1902384192]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
texture = ExtResource("2_c2amw")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="PieceTexture2" type="TextureRect" parent="Control/Board/Button4_MitteLinks" unique_id=93981872]
|
|
layout_mode = 0
|
|
mouse_filter = 2
|
|
texture = ExtResource("3_e5yio")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="Button5_MitteMitte" type="Button" parent="Control/Board" unique_id=863510856]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme_override_styles/normal = SubResource("StyleBoxTexture_vkh10")
|
|
theme_override_styles/pressed = SubResource("StyleBoxTexture_kjodg")
|
|
theme_override_styles/hover = SubResource("StyleBoxTexture_rrjto")
|
|
|
|
[node name="PieceTexture" type="TextureRect" parent="Control/Board/Button5_MitteMitte" unique_id=482036297]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
texture = ExtResource("2_c2amw")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="PieceTexture2" type="TextureRect" parent="Control/Board/Button5_MitteMitte" unique_id=103466242]
|
|
layout_mode = 0
|
|
mouse_filter = 2
|
|
texture = ExtResource("3_e5yio")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="Button6_MitteRechts" type="Button" parent="Control/Board" unique_id=1730224545]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme_override_styles/normal = SubResource("StyleBoxTexture_vkh10")
|
|
theme_override_styles/pressed = SubResource("StyleBoxTexture_kjodg")
|
|
theme_override_styles/hover = SubResource("StyleBoxTexture_rrjto")
|
|
|
|
[node name="PieceTexture" type="TextureRect" parent="Control/Board/Button6_MitteRechts" unique_id=933598029]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
texture = ExtResource("2_c2amw")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="PieceTexture2" type="TextureRect" parent="Control/Board/Button6_MitteRechts" unique_id=1299839229]
|
|
layout_mode = 0
|
|
mouse_filter = 2
|
|
texture = ExtResource("3_e5yio")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="Button1_UntenLinks" type="Button" parent="Control/Board" unique_id=417363038]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme_override_styles/normal = SubResource("StyleBoxTexture_vkh10")
|
|
theme_override_styles/pressed = SubResource("StyleBoxTexture_kjodg")
|
|
theme_override_styles/hover = SubResource("StyleBoxTexture_rrjto")
|
|
|
|
[node name="PieceTexture" type="TextureRect" parent="Control/Board/Button1_UntenLinks" unique_id=879668694]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
texture = ExtResource("2_c2amw")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="PieceTexture2" type="TextureRect" parent="Control/Board/Button1_UntenLinks" unique_id=1893136245]
|
|
layout_mode = 0
|
|
mouse_filter = 2
|
|
texture = ExtResource("3_e5yio")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="Button2_UntenMitte" type="Button" parent="Control/Board" unique_id=2081092678]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme_override_styles/normal = SubResource("StyleBoxTexture_vkh10")
|
|
theme_override_styles/pressed = SubResource("StyleBoxTexture_kjodg")
|
|
theme_override_styles/hover = SubResource("StyleBoxTexture_rrjto")
|
|
|
|
[node name="PieceTexture" type="TextureRect" parent="Control/Board/Button2_UntenMitte" unique_id=2135819389]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
texture = ExtResource("2_c2amw")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="PieceTexture2" type="TextureRect" parent="Control/Board/Button2_UntenMitte" unique_id=1493058391]
|
|
layout_mode = 0
|
|
mouse_filter = 2
|
|
texture = ExtResource("3_e5yio")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="Button3_UntenRechts" type="Button" parent="Control/Board" unique_id=92172665]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme_override_styles/normal = SubResource("StyleBoxTexture_vkh10")
|
|
theme_override_styles/pressed = SubResource("StyleBoxTexture_kjodg")
|
|
theme_override_styles/hover = SubResource("StyleBoxTexture_rrjto")
|
|
|
|
[node name="PieceTexture" type="TextureRect" parent="Control/Board/Button3_UntenRechts" unique_id=420000251]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
texture = ExtResource("2_c2amw")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="PieceTexture2" type="TextureRect" parent="Control/Board/Button3_UntenRechts" unique_id=846383566]
|
|
layout_mode = 0
|
|
mouse_filter = 2
|
|
texture = ExtResource("3_e5yio")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="StatusLabel" type="Label" parent="Control" unique_id=401811983]
|
|
layout_mode = 1
|
|
anchors_preset = 5
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
offset_left = -20.0
|
|
offset_top = -70.0
|
|
offset_right = 480.0
|
|
offset_bottom = -21.0
|
|
grow_horizontal = 2
|
|
theme_override_font_sizes/font_size = 35
|
|
text = "Status"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="Control" unique_id=501207243]
|
|
position = Vector2(250, 230)
|
|
|
|
[node name="WinLine" type="Line2D" parent="Control" unique_id=627323966]
|
|
width = 8.0
|
|
begin_cap_mode = 2
|
|
end_cap_mode = 2
|