blob: de81044c22d494510369c09fad5daeeae367b31e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
[gd_scene load_steps=2 format=1]
[ext_resource path="res://grid.tscn" type="PackedScene" id=1]
[node name="Tetris" type="Panel"]
focus/ignore_mouse = false
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 2
margin/left = 0.0
margin/top = 0.0
margin/right = 400.0
margin/bottom = 400.0
[node name="Grid" parent="." instance=ExtResource( 1 )]
margin/left = 40.0
margin/top = 35.0
margin/right = 80.0
margin/bottom = 75.0
[node name="Label" type="Label" parent="."]
focus/ignore_mouse = true
focus/stop_mouse = true
size_flags/horizontal = 2
margin/left = 243.0
margin/top = 36.0
margin/right = 283.0
margin/bottom = 49.0
text = "Score:"
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
[node name="score" type="Label" parent="."]
focus/ignore_mouse = true
focus/stop_mouse = true
size_flags/horizontal = 2
margin/left = 252.0
margin/top = 55.0
margin/right = 293.0
margin/bottom = 68.0
text = "0"
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
[node name="restart" type="Button" parent="."]
focus/ignore_mouse = false
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 2
margin/left = 243.0
margin/top = 292.0
margin/right = 303.0
margin/bottom = 311.0
toggle_mode = false
text = "Restart"
flat = false
[connection signal="pressed" from="restart" to="Grid" method="restart_pressed"]
|