-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMenu.tscn
79 lines (67 loc) · 2.13 KB
/
Menu.tscn
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
68
69
70
71
72
73
74
75
76
77
78
79
[gd_scene load_steps=9 format=2]
[ext_resource path="res://Menu.gd" type="Script" id=1]
[ext_resource path="res://resources/fonts/Mechanical.otf" type="DynamicFontData" id=2]
[ext_resource path="res://resources/art/boulder_anims/circle.png" type="Texture" id=3]
[ext_resource path="res://resources/art/boulder_anims/triangle.png" type="Texture" id=4]
[sub_resource type="DynamicFont" id=1]
size = 64
font_data = ExtResource( 2 )
[sub_resource type="DynamicFont" id=2]
size = 24
font_data = ExtResource( 2 )
[sub_resource type="DynamicFont" id=3]
font_data = ExtResource( 2 )
[sub_resource type="DynamicFont" id=4]
font_data = ExtResource( 2 )
[node name="Menu" type="Panel"]
anchor_left = 0.5
anchor_right = 0.5
anchor_bottom = 1.0
margin_left = -130.0
margin_top = 96.0
margin_right = 124.0
margin_bottom = -131.0
script = ExtResource( 1 )
[node name="Title" type="Label" parent="."]
anchor_left = 0.5
anchor_right = 0.5
margin_left = -81.4618
margin_top = 24.8046
margin_right = 77.5382
margin_bottom = 90.8046
custom_fonts/font = SubResource( 1 )
text = "soko"
[node name="CBoulder" type="Sprite" parent="Title"]
position = Vector2( -22.2758, 33.3515 )
texture = ExtResource( 3 )
[node name="TBoulder" type="Sprite" parent="Title"]
position = Vector2( 178.04, 30.7668 )
texture = ExtResource( 4 )
[node name="LevelSelectLabel" type="Label" parent="."]
margin_left = 37.4783
margin_top = 105.973
margin_right = 219.478
margin_bottom = 130.973
custom_fonts/font = SubResource( 2 )
text = "Select level:"
[node name="LevelSelectBox" type="ItemList" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 38.0
margin_top = 135.0
margin_right = -37.0
margin_bottom = -67.0
custom_fonts/font = SubResource( 3 )
[node name="QuitButt" type="Button" parent="."]
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
margin_left = -29.0765
margin_top = -49.645
margin_right = 27.924
margin_bottom = -23.645
custom_fonts/font = SubResource( 4 )
text = "quit"
[connection signal="item_activated" from="LevelSelectBox" to="." method="_on_LevelSelectBox_item_activated"]
[connection signal="pressed" from="QuitButt" to="." method="_on_QuitButt_pressed"]