|
5 | 5 | [ext_resource path="res://scripts/border.gd" type="Script" id=3] |
6 | 6 |
|
7 | 7 | [node name="Viewport" type="MarginContainer"] |
8 | | -anchor_right = 1.0 |
9 | | -anchor_bottom = 1.0 |
| 8 | +anchor_left = 0.00078125 |
| 9 | +anchor_top = 0.00138889 |
| 10 | +anchor_right = 1.00078 |
| 11 | +anchor_bottom = 1.00139 |
10 | 12 | theme = ExtResource( 2 ) |
11 | 13 | custom_constants/margin_right = 40 |
12 | 14 | custom_constants/margin_top = 30 |
@@ -39,35 +41,76 @@ __meta__ = { |
39 | 41 | "_edit_use_anchors_": false |
40 | 42 | } |
41 | 43 |
|
| 44 | +[node name="Instructions" type="MarginContainer" parent="MainMenu/Display"] |
| 45 | +visible = false |
| 46 | +margin_left = 480.0 |
| 47 | +margin_top = 201.0 |
| 48 | +margin_right = 720.0 |
| 49 | +margin_bottom = 397.0 |
| 50 | +size_flags_horizontal = 4 |
| 51 | +size_flags_vertical = 4 |
| 52 | +script = ExtResource( 3 ) |
| 53 | + |
| 54 | +[node name="VBoxContainer" type="VBoxContainer" parent="MainMenu/Display/Instructions"] |
| 55 | +margin_left = 20.0 |
| 56 | +margin_top = 20.0 |
| 57 | +margin_right = 220.0 |
| 58 | +margin_bottom = 176.0 |
| 59 | + |
| 60 | +[node name="Label" type="Label" parent="MainMenu/Display/Instructions/VBoxContainer"] |
| 61 | +margin_right = 200.0 |
| 62 | +margin_bottom = 129.0 |
| 63 | +size_flags_horizontal = 4 |
| 64 | +text = "W - bigger |
| 65 | +A - slower |
| 66 | +S - smaller |
| 67 | +D - faster |
| 68 | +M - toggle sound |
| 69 | +F - big preview mode" |
| 70 | + |
| 71 | +[node name="Button" type="Button" parent="MainMenu/Display/Instructions/VBoxContainer"] |
| 72 | +margin_top = 137.0 |
| 73 | +margin_right = 200.0 |
| 74 | +margin_bottom = 156.0 |
| 75 | +text = "OK" |
| 76 | + |
42 | 77 | [node name="Spacing" type="Control" parent="MainMenu"] |
43 | 78 | margin_top = 633.0 |
44 | 79 | margin_right = 1200.0 |
45 | 80 | margin_bottom = 633.0 |
46 | 81 |
|
47 | 82 | [node name="Buttons" type="HBoxContainer" parent="MainMenu"] |
48 | | -margin_left = 290.0 |
| 83 | +margin_left = 20.0 |
49 | 84 | margin_top = 641.0 |
50 | | -margin_right = 910.0 |
| 85 | +margin_right = 1180.0 |
51 | 86 | margin_bottom = 660.0 |
52 | 87 | size_flags_horizontal = 4 |
53 | 88 | custom_constants/separation = 500 |
54 | 89 |
|
| 90 | +[node name="Help" type="Button" parent="MainMenu/Buttons"] |
| 91 | +margin_right = 40.0 |
| 92 | +margin_bottom = 19.0 |
| 93 | +text = "HELP" |
| 94 | + |
55 | 95 | [node name="Start" type="Button" parent="MainMenu/Buttons"] |
56 | | -margin_right = 50.0 |
| 96 | +margin_left = 540.0 |
| 97 | +margin_right = 590.0 |
57 | 98 | margin_bottom = 19.0 |
58 | 99 | size_flags_horizontal = 4 |
59 | 100 | text = "START" |
60 | 101 | flat = true |
61 | 102 |
|
62 | 103 | [node name="Credits" type="Button" parent="MainMenu/Buttons"] |
63 | | -margin_left = 550.0 |
64 | | -margin_right = 620.0 |
| 104 | +margin_left = 1090.0 |
| 105 | +margin_right = 1160.0 |
65 | 106 | margin_bottom = 19.0 |
66 | 107 | text = "CREDITS" |
67 | 108 |
|
68 | 109 | [node name="Timer" type="Timer" parent="."] |
69 | 110 | wait_time = 0.25 |
70 | 111 | autostart = true |
| 112 | +[connection signal="pressed" from="MainMenu/Display/Instructions/VBoxContainer/Button" to="MainMenu" method="_on_Button_pressed"] |
| 113 | +[connection signal="pressed" from="MainMenu/Buttons/Help" to="MainMenu" method="_on_Help_pressed"] |
71 | 114 | [connection signal="pressed" from="MainMenu/Buttons/Start" to="MainMenu" method="_on_Start_pressed"] |
72 | 115 | [connection signal="pressed" from="MainMenu/Buttons/Credits" to="MainMenu" method="_on_Credits_pressed"] |
73 | 116 | [connection signal="timeout" from="Timer" to="MainMenu" method="_on_Timer_timeout"] |
0 commit comments