TicTacToeExtreme/game.tscn

89 lines
3.3 KiB
Plaintext
Raw Normal View History

2024-03-27 18:02:45 +01:00
[gd_scene load_steps=4 format=3 uid="uid://dmahmxghpm47w"]
[ext_resource type="Script" path="res://game.gd" id="1_g1ie7"]
[ext_resource type="PackedScene" uid="uid://dvlk7imglgpms" path="res://board/board.tscn" id="1_ym80r"]
[ext_resource type="Texture2D" uid="uid://do2vfb2cj7fk" path="res://assets/sprites.png" id="3_0333r"]
[node name="Game" type="Node2D"]
script = ExtResource("1_g1ie7")
[node name="Nummerierung links" parent="." instance=ExtResource("1_ym80r")]
position = Vector2(419, 240)
layer_0/tile_data = PackedInt32Array(65533, 1, 3, 131069, 65537, 3, 196605, 131073, 3, 262141, 196609, 3, 327677, 65537, 4, 393213, 131073, 4, 65534, 1, 3, -2, 1, 3, -1, 65537, 3, -65536, 131073, 3, -65535, 196609, 3, -65534, 65537, 4, -65533, 131073, 4)
2024-03-27 18:02:45 +01:00
[node name="Board" parent="." instance=ExtResource("1_ym80r")]
position = Vector2(419, 240)
layer_0/tile_data = PackedInt32Array(65537, 1, 0, 131073, 1, 0, 131074, 1, 0, 0, 1, 0, 65536, 1, 0, 131072, 1, 0, 1, 1, 0, 2, 1, 0, 65538, 1, 0, 65534, 1, 0, 131070, 1, 0, 131071, 1, 0, 196607, 1, 0, 65535, 1, 0, 196606, 1, 0, 262142, 1, 0, 327678, 1, 0, 393214, 1, 0, 393215, 1, 0, 327680, 1, 0, 327681, 1, 0, 327682, 1, 0, 327683, 1, 0, 262147, 1, 0, 196611, 1, 0, 131075, 1, 0, 65539, 1, 0, 3, 1, 0, 196610, 1, 0, 262146, 1, 0, 262145, 1, 0, 196609, 1, 0, 262144, 1, 0, 196608, 1, 0, 327679, 1, 0, 262143, 1, 0)
2024-03-27 18:02:45 +01:00
[node name="GUI" type="Node2D" parent="."]
[node name="Title" type="Label" parent="GUI"]
offset_left = 560.0
offset_top = 36.0
offset_right = 941.0
offset_bottom = 108.0
theme_override_font_sizes/font_size = 40
text = "Tic Tac Toe Extreme"
2024-03-27 18:02:45 +01:00
[node name="NextPlayer" type="Sprite2D" parent="GUI"]
position = Vector2(1178, 246.5)
scale = Vector2(1.3, 1.29)
2024-03-27 18:02:45 +01:00
texture = ExtResource("3_0333r")
region_enabled = true
region_rect = Rect2(0, 100, 100, 100)
[node name="NextPlayerLabel" type="Label" parent="GUI"]
offset_left = 953.0
offset_top = 206.5
offset_right = 1083.0
offset_bottom = 275.5
2024-03-27 18:02:45 +01:00
size_flags_horizontal = 4
theme_override_font_sizes/font_size = 45
2024-03-27 18:02:45 +01:00
text = "Next:"
metadata/_edit_use_anchors_ = true
[node name="WonPlayer" type="Sprite2D" parent="GUI"]
position = Vector2(1179, 400.5)
scale = Vector2(1.3, 1.3)
2024-03-27 18:02:45 +01:00
texture = ExtResource("3_0333r")
region_enabled = true
region_rect = Rect2(0, 100, 100, 100)
[node name="WonPlayerLabel" type="Label" parent="GUI"]
offset_left = 967.0
offset_top = 369.5
offset_right = 1091.0
offset_bottom = 438.5
2024-03-27 18:02:45 +01:00
size_flags_horizontal = 4
theme_override_font_sizes/font_size = 45
2024-03-27 18:02:45 +01:00
text = "Won:"
metadata/_edit_use_anchors_ = true
[node name="DiceSprite" type="Sprite2D" parent="GUI"]
position = Vector2(1224, 576)
scale = Vector2(1.26596, 1.2191)
texture = ExtResource("3_0333r")
region_enabled = true
region_rect = Rect2(207, 410, 85, 85)
2024-03-27 18:02:45 +01:00
[node name="RestartButton" type="Button" parent="GUI"]
offset_left = 896.0
offset_top = 688.0
offset_right = 1125.0
offset_bottom = 808.0
theme_override_colors/font_color = Color(1, 0, 0, 1)
theme_override_font_sizes/font_size = 30
2024-03-27 18:02:45 +01:00
text = "Restart"
metadata/_edit_use_anchors_ = true
[node name="DiceButton" type="Button" parent="GUI"]
offset_left = 896.0
offset_top = 520.0
offset_right = 1128.0
offset_bottom = 640.0
theme_override_font_sizes/font_size = 30
text = "Würfeln"
2024-03-27 18:02:45 +01:00
[connection signal="pressed" from="GUI/RestartButton" to="." method="_on_restart_button_pressed"]
[connection signal="pressed" from="GUI/DiceButton" to="." method="_on_dice_button_pressed"]