65 lines
1.8 KiB
Plaintext
65 lines
1.8 KiB
Plaintext
|
[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="Board" parent="." instance=ExtResource("1_ym80r")]
|
||
|
position = Vector2(420, 222)
|
||
|
|
||
|
[node name="GUI" type="Node2D" parent="."]
|
||
|
|
||
|
[node name="Title" type="Label" parent="GUI"]
|
||
|
offset_left = 28.0
|
||
|
offset_top = 31.0
|
||
|
offset_right = 718.0
|
||
|
offset_bottom = 103.0
|
||
|
theme_override_font_sizes/font_size = 32
|
||
|
text = "Tic Tac Toe Rapid Prototyper"
|
||
|
|
||
|
[node name="NextPlayer" type="Sprite2D" parent="GUI"]
|
||
|
position = Vector2(690, 59)
|
||
|
scale = Vector2(0.5, 0.5)
|
||
|
texture = ExtResource("3_0333r")
|
||
|
region_enabled = true
|
||
|
region_rect = Rect2(0, 100, 100, 100)
|
||
|
|
||
|
[node name="NextPlayerLabel" type="Label" parent="GUI"]
|
||
|
offset_left = 602.0
|
||
|
offset_top = 47.0
|
||
|
offset_right = 644.0
|
||
|
offset_bottom = 73.0
|
||
|
size_flags_horizontal = 4
|
||
|
text = "Next:"
|
||
|
metadata/_edit_use_anchors_ = true
|
||
|
|
||
|
[node name="WonPlayer" type="Sprite2D" parent="GUI"]
|
||
|
visible = false
|
||
|
position = Vector2(891, 58)
|
||
|
scale = Vector2(0.5, 0.5)
|
||
|
texture = ExtResource("3_0333r")
|
||
|
region_enabled = true
|
||
|
region_rect = Rect2(0, 100, 100, 100)
|
||
|
|
||
|
[node name="WonPlayerLabel" type="Label" parent="GUI"]
|
||
|
offset_left = 807.0
|
||
|
offset_top = 47.0
|
||
|
offset_right = 849.0
|
||
|
offset_bottom = 73.0
|
||
|
size_flags_horizontal = 4
|
||
|
text = "Won:"
|
||
|
metadata/_edit_use_anchors_ = true
|
||
|
|
||
|
[node name="RestartButton" type="Button" parent="GUI"]
|
||
|
offset_left = 983.0
|
||
|
offset_top = 44.0
|
||
|
offset_right = 1086.0
|
||
|
offset_bottom = 75.0
|
||
|
text = "Restart"
|
||
|
metadata/_edit_use_anchors_ = true
|
||
|
|
||
|
[connection signal="pressed" from="GUI/RestartButton" to="." method="_on_restart_button_pressed"]
|