-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrandom_map.tscn
186 lines (160 loc) · 4.58 KB
/
random_map.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
[gd_scene load_steps=7 format=2]
[ext_resource path="res://random_map_noise.gd" type="Script" id=1]
[ext_resource path="res://tilemap.res" type="TileSet" id=2]
[ext_resource path="res://Camera2D.gd" type="Script" id=3]
[ext_resource path="res://UI/grey_button07.png" type="Texture" id=4]
[ext_resource path="res://Sprites/Fonts/Kenney Mini.ttf" type="DynamicFontData" id=5]
[sub_resource type="DynamicFont" id=1]
size = 17
use_mipmaps = true
use_filter = true
font_data = ExtResource( 5 )
[node name="Node2D" type="Node2D"]
script = ExtResource( 1 )
[node name="TileMap" type="TileMap" parent="."]
mode = 1
tile_set = ExtResource( 2 )
cell_size = Vector2( 32, 16 )
format = 1
[node name="Camera2D" type="Camera2D" parent="."]
current = true
script = ExtResource( 3 )
[node name="UI" type="CanvasLayer" parent="."]
[node name="AcceptDialog" type="AcceptDialog" parent="UI"]
visible = true
anchor_bottom = 1.0
margin_left = -138.812
margin_top = -79.0973
margin_right = 142.188
margin_bottom = -502.097
window_title = "Welcome!"
[node name="Label2" type="Label" parent="UI/AcceptDialog"]
margin_left = 9.59393
margin_top = 12.7819
margin_right = 274.594
margin_bottom = 145.782
text = "Thanks for trying this generator out!
If you are new hit the question mark and
then choose a square or circle.
- Up, Down, Left, Right = Move Camera
- Mouse Scroll = Zooms In and Out
- R = Rotates map
- Esc = Deletes current map
- Q"
[node name="Base" type="Control" parent="UI"]
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
[node name="NinePatchRect" type="NinePatchRect" parent="UI/Base"]
modulate = Color( 1, 1, 1, 0.921569 )
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = -70.0
texture = ExtResource( 4 )
patch_margin_left = 10
patch_margin_top = 10
patch_margin_right = 10
patch_margin_bottom = 10
[node name="draw_rect" type="ColorRect" parent="UI/Base"]
modulate = Color( 0.021698, 0.17057, 0.617188, 0.509804 )
rect_clip_content = true
[node name="SizeGroup" type="Control" parent="UI/Base"]
margin_left = 284.0
margin_top = -68.0
margin_right = 358.0
margin_bottom = -13.0
[node name="Size" type="LineEdit" parent="UI/Base/SizeGroup"]
margin_left = 0.127991
margin_top = 22.2049
margin_right = 73.128
margin_bottom = 54.2049
[node name="label" type="Label" parent="UI/Base/SizeGroup"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 2.0
margin_top = -1.0
margin_right = -1.0
margin_bottom = -34.0
size_flags_horizontal = 0
size_flags_vertical = 0
custom_fonts/font = SubResource( 1 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "Size"
align = 1
valign = 1
[node name="OctaveGroup" type="Control" parent="UI/Base"]
editor/display_folded = true
margin_left = 410.345
margin_top = -68.0
margin_right = 484.345
margin_bottom = -13.0
[node name="Octave" type="LineEdit" parent="UI/Base/OctaveGroup"]
margin_left = 1.26077
margin_top = 22.205
margin_right = 74.2608
margin_bottom = 54.205
[node name="label2" type="Label" parent="UI/Base/OctaveGroup"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 3.0
margin_top = -1.0
margin_right = -1.0
margin_bottom = -34.0
size_flags_horizontal = 0
size_flags_vertical = 0
custom_fonts/font = SubResource( 1 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "Octave"
align = 1
valign = 1
[node name="PeriodGroup" type="Control" parent="UI/Base"]
editor/display_folded = true
margin_left = 492.783
margin_top = -67.1039
margin_right = 566.783
margin_bottom = -12.1039
[node name="Period" type="LineEdit" parent="UI/Base/PeriodGroup"]
margin_left = -0.0552673
margin_top = 21.3089
margin_right = 72.9448
margin_bottom = 53.3089
[node name="label3" type="Label" parent="UI/Base/PeriodGroup"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 2.0
margin_top = -1.0
margin_right = -2.0
margin_bottom = -34.0
size_flags_horizontal = 0
size_flags_vertical = 0
custom_fonts/font = SubResource( 1 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "Period"
align = 1
valign = 1
[node name="PersistGroup" type="Control" parent="UI/Base"]
editor/display_folded = true
margin_left = 572.533
margin_top = -68.8961
margin_right = 646.533
margin_bottom = -13.8961
[node name="Persistence" type="LineEdit" parent="UI/Base/PersistGroup"]
margin_left = 1.31689
margin_top = 23.1011
margin_right = 74.3169
margin_bottom = 55.1011
[node name="label4" type="Label" parent="UI/Base/PersistGroup"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 1.0
margin_top = 2.0
margin_right = 1.0
margin_bottom = -31.0
size_flags_horizontal = 0
size_flags_vertical = 0
custom_fonts/font = SubResource( 1 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "Persist."
align = 1
valign = 1