diff --git a/gam19AB.tmp b/gam19AB.tmp new file mode 100644 index 0000000..01fed66 --- /dev/null +++ b/gam19AB.tmp @@ -0,0 +1,78 @@ +[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(420, 222) +layer_0/tile_data = PackedInt32Array(65533, 1, 3, 131069, 65537, 3, 196605, 131073, 3, 262141, 196609, 3, 327677, 65537, 4, 393213, 131073, 4) +state_layer = null +board_layer = null +state_name = null +empty_state = null +active = null + +[node name="Board" parent="." instance=ExtResource("1_ym80r")] +position = Vector2(420, 222) +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, -2, 1, 3, -1, 65537, 3, -65536, 131073, 3, -65535, 196609, 3, -65534, 65537, 4, -65533, 131073, 4, 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) +state_layer = null +board_layer = null +state_name = null +empty_state = null +active = null + +[node name="GUI" type="Node2D" parent="."] + +[node name="Title" type="Label" parent="GUI"] +offset_left = 370.0 +offset_top = 44.0 +offset_right = 709.0 +offset_bottom = 116.0 +theme_override_font_sizes/font_size = 32 +text = "Tic Tac Toe Extreme" + +[node name="NextPlayer" type="Sprite2D" parent="GUI"] +position = Vector2(1012, 245) +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 = 924.0 +offset_top = 233.0 +offset_right = 966.0 +offset_bottom = 259.0 +size_flags_horizontal = 4 +text = "Next:" +metadata/_edit_use_anchors_ = true + +[node name="WonPlayer" type="Sprite2D" parent="GUI"] +position = Vector2(1009, 311) +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 = 925.0 +offset_top = 300.0 +offset_right = 967.0 +offset_bottom = 326.0 +size_flags_horizontal = 4 +text = "Won:" +metadata/_edit_use_anchors_ = true + +[node name="RestartButton" type="Button" parent="GUI"] +offset_left = 926.0 +offset_top = 366.0 +offset_right = 1029.0 +offset_bottom = 397.0 +text = "Restart" +metadata/_edit_use_anchors_ = true + +[connection signal="pressed" from="GUI/RestartButton" to="." method="_on_restart_button_pressed"] diff --git a/gam988C.tmp b/gam988C.tmp new file mode 100644 index 0000000..39a0227 --- /dev/null +++ b/gam988C.tmp @@ -0,0 +1,68 @@ +[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(420, 222) +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) + +[node name="Board" parent="." instance=ExtResource("1_ym80r")] +position = Vector2(420, 222) +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) + +[node name="GUI" type="Node2D" parent="."] + +[node name="Title" type="Label" parent="GUI"] +offset_left = 370.0 +offset_top = 44.0 +offset_right = 709.0 +offset_bottom = 116.0 +theme_override_font_sizes/font_size = 32 +text = "Tic Tac Toe Extreme" + +[node name="NextPlayer" type="Sprite2D" parent="GUI"] +position = Vector2(1012, 245) +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 = 924.0 +offset_top = 233.0 +offset_right = 966.0 +offset_bottom = 259.0 +size_flags_horizontal = 4 +text = "Next:" +metadata/_edit_use_anchors_ = true + +[node name="WonPlayer" type="Sprite2D" parent="GUI"] +position = Vector2(1009, 311) +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 = 925.0 +offset_top = 300.0 +offset_right = 967.0 +offset_bottom = 326.0 +size_flags_horizontal = 4 +text = "Won:" +metadata/_edit_use_anchors_ = true + +[node name="RestartButton" type="Button" parent="GUI"] +offset_left = 926.0 +offset_top = 366.0 +offset_right = 1029.0 +offset_bottom = 397.0 +text = "Restart" +metadata/_edit_use_anchors_ = true + +[connection signal="pressed" from="GUI/RestartButton" to="." method="_on_restart_button_pressed"] diff --git a/gam9D23.tmp b/gam9D23.tmp new file mode 100644 index 0000000..01fed66 --- /dev/null +++ b/gam9D23.tmp @@ -0,0 +1,78 @@ +[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(420, 222) +layer_0/tile_data = PackedInt32Array(65533, 1, 3, 131069, 65537, 3, 196605, 131073, 3, 262141, 196609, 3, 327677, 65537, 4, 393213, 131073, 4) +state_layer = null +board_layer = null +state_name = null +empty_state = null +active = null + +[node name="Board" parent="." instance=ExtResource("1_ym80r")] +position = Vector2(420, 222) +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, -2, 1, 3, -1, 65537, 3, -65536, 131073, 3, -65535, 196609, 3, -65534, 65537, 4, -65533, 131073, 4, 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) +state_layer = null +board_layer = null +state_name = null +empty_state = null +active = null + +[node name="GUI" type="Node2D" parent="."] + +[node name="Title" type="Label" parent="GUI"] +offset_left = 370.0 +offset_top = 44.0 +offset_right = 709.0 +offset_bottom = 116.0 +theme_override_font_sizes/font_size = 32 +text = "Tic Tac Toe Extreme" + +[node name="NextPlayer" type="Sprite2D" parent="GUI"] +position = Vector2(1012, 245) +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 = 924.0 +offset_top = 233.0 +offset_right = 966.0 +offset_bottom = 259.0 +size_flags_horizontal = 4 +text = "Next:" +metadata/_edit_use_anchors_ = true + +[node name="WonPlayer" type="Sprite2D" parent="GUI"] +position = Vector2(1009, 311) +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 = 925.0 +offset_top = 300.0 +offset_right = 967.0 +offset_bottom = 326.0 +size_flags_horizontal = 4 +text = "Won:" +metadata/_edit_use_anchors_ = true + +[node name="RestartButton" type="Button" parent="GUI"] +offset_left = 926.0 +offset_top = 366.0 +offset_right = 1029.0 +offset_bottom = 397.0 +text = "Restart" +metadata/_edit_use_anchors_ = true + +[connection signal="pressed" from="GUI/RestartButton" to="." method="_on_restart_button_pressed"] diff --git a/gamBBD.tmp b/gamBBD.tmp new file mode 100644 index 0000000..39a0227 --- /dev/null +++ b/gamBBD.tmp @@ -0,0 +1,68 @@ +[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(420, 222) +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) + +[node name="Board" parent="." instance=ExtResource("1_ym80r")] +position = Vector2(420, 222) +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) + +[node name="GUI" type="Node2D" parent="."] + +[node name="Title" type="Label" parent="GUI"] +offset_left = 370.0 +offset_top = 44.0 +offset_right = 709.0 +offset_bottom = 116.0 +theme_override_font_sizes/font_size = 32 +text = "Tic Tac Toe Extreme" + +[node name="NextPlayer" type="Sprite2D" parent="GUI"] +position = Vector2(1012, 245) +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 = 924.0 +offset_top = 233.0 +offset_right = 966.0 +offset_bottom = 259.0 +size_flags_horizontal = 4 +text = "Next:" +metadata/_edit_use_anchors_ = true + +[node name="WonPlayer" type="Sprite2D" parent="GUI"] +position = Vector2(1009, 311) +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 = 925.0 +offset_top = 300.0 +offset_right = 967.0 +offset_bottom = 326.0 +size_flags_horizontal = 4 +text = "Won:" +metadata/_edit_use_anchors_ = true + +[node name="RestartButton" type="Button" parent="GUI"] +offset_left = 926.0 +offset_top = 366.0 +offset_right = 1029.0 +offset_bottom = 397.0 +text = "Restart" +metadata/_edit_use_anchors_ = true + +[connection signal="pressed" from="GUI/RestartButton" to="." method="_on_restart_button_pressed"] diff --git a/gamC991.tmp b/gamC991.tmp new file mode 100644 index 0000000..01fed66 --- /dev/null +++ b/gamC991.tmp @@ -0,0 +1,78 @@ +[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(420, 222) +layer_0/tile_data = PackedInt32Array(65533, 1, 3, 131069, 65537, 3, 196605, 131073, 3, 262141, 196609, 3, 327677, 65537, 4, 393213, 131073, 4) +state_layer = null +board_layer = null +state_name = null +empty_state = null +active = null + +[node name="Board" parent="." instance=ExtResource("1_ym80r")] +position = Vector2(420, 222) +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, -2, 1, 3, -1, 65537, 3, -65536, 131073, 3, -65535, 196609, 3, -65534, 65537, 4, -65533, 131073, 4, 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) +state_layer = null +board_layer = null +state_name = null +empty_state = null +active = null + +[node name="GUI" type="Node2D" parent="."] + +[node name="Title" type="Label" parent="GUI"] +offset_left = 370.0 +offset_top = 44.0 +offset_right = 709.0 +offset_bottom = 116.0 +theme_override_font_sizes/font_size = 32 +text = "Tic Tac Toe Extreme" + +[node name="NextPlayer" type="Sprite2D" parent="GUI"] +position = Vector2(1012, 245) +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 = 924.0 +offset_top = 233.0 +offset_right = 966.0 +offset_bottom = 259.0 +size_flags_horizontal = 4 +text = "Next:" +metadata/_edit_use_anchors_ = true + +[node name="WonPlayer" type="Sprite2D" parent="GUI"] +position = Vector2(1009, 311) +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 = 925.0 +offset_top = 300.0 +offset_right = 967.0 +offset_bottom = 326.0 +size_flags_horizontal = 4 +text = "Won:" +metadata/_edit_use_anchors_ = true + +[node name="RestartButton" type="Button" parent="GUI"] +offset_left = 926.0 +offset_top = 366.0 +offset_right = 1029.0 +offset_bottom = 397.0 +text = "Restart" +metadata/_edit_use_anchors_ = true + +[connection signal="pressed" from="GUI/RestartButton" to="." method="_on_restart_button_pressed"] diff --git a/game.gd b/game.gd index 73e2190..b663a9a 100644 --- a/game.gd +++ b/game.gd @@ -40,26 +40,29 @@ func _process(_delta): func _on_restart_button_pressed(): _ready() - var _checks = [ [Vector2i(-1,0), Vector2i(1,0)], - [Vector2i(0,-1), Vector2i(0,1)], - [Vector2i(-1,-1), Vector2i(1,1)], + [Vector2i(0,-1), Vector2i(0,1)], + [Vector2i(-1,-1), Vector2i(1,1)], [Vector2i(-1,1), Vector2i(1,-1)], ] + func _check_win() -> String: for cell in board.get_used_cells(board.layer_by_name[board.state_layer]): var state = board.get_state(cell) for check in _checks: - var same = true - for neighbour in check: - if board.get_state(cell + neighbour) != state: - same = false - continue - if same: - return state + for i in range(3): + var same = true + for j in range(4): + if board.get_state(cell + check[0] * (i + j)) != state: + same = false + break + if same: + return state return "" + + diff --git a/game.tscn b/game.tscn index 21073b3..39a0227 100644 --- a/game.tscn +++ b/game.tscn @@ -7,57 +7,61 @@ [node name="Game" type="Node2D"] script = ExtResource("1_g1ie7") +[node name="Nummerierung links" parent="." instance=ExtResource("1_ym80r")] +position = Vector2(420, 222) +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) + [node name="Board" parent="." instance=ExtResource("1_ym80r")] position = Vector2(420, 222) +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) [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 +offset_left = 370.0 +offset_top = 44.0 +offset_right = 709.0 +offset_bottom = 116.0 theme_override_font_sizes/font_size = 32 -text = "Tic Tac Toe Rapid Prototyper" +text = "Tic Tac Toe Extreme" [node name="NextPlayer" type="Sprite2D" parent="GUI"] -position = Vector2(690, 59) +position = Vector2(1012, 245) 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 +offset_left = 924.0 +offset_top = 233.0 +offset_right = 966.0 +offset_bottom = 259.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) +position = Vector2(1009, 311) 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 +offset_left = 925.0 +offset_top = 300.0 +offset_right = 967.0 +offset_bottom = 326.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 +offset_left = 926.0 +offset_top = 366.0 +offset_right = 1029.0 +offset_bottom = 397.0 text = "Restart" metadata/_edit_use_anchors_ = true