Debian Codegraph @

examples/tiled/strategy_game_demo/data/gameviewinstructions2.castle-user-interface

raw
1 {
2 "$$ClassName" : "TCastleUserInterface",
3 "FullSize" : true,
4 "Name" : "RootGroup",
5 "$Children" : [
6 {
7 "$$ClassName" : "TCastleRectangleControl",
8 "ColorPersistent" : {
9 "$$ClassName" : "TCastleColorPersistent",
10 "Alpha" : 7.5000000000000000E-001,
11 "Blue" : 0.0000000000000000E+000,
12 "Green" : 0.0000000000000000E+000,
13 "Red" : 0.0000000000000000E+000
14 },
15 "FullSize" : true,
16 "Name" : "RectangleControl1"
17 },
18 {
19 "$$ClassName" : "TCastleImageControl",
20 "Content" : {
21 "$$ClassName" : "TCastleImagePersistent",
22 "URL" : "castle-data:/images/parchment_alpha.png"
23 },
24 "HeightFraction" : 1.0000000000000000E+000,
25 "HorizontalAnchorParent" : "hpMiddle",
26 "HorizontalAnchorSelf" : "hpMiddle",
27 "Name" : "ImageControl1",
28 "ProportionalScaling" : "psFit",
29 "Stretch" : true,
30 "VerticalAnchorParent" : "vpMiddle",
31 "VerticalAnchorSelf" : "vpMiddle",
32 "WidthFraction" : 1.0000000000000000E+000,
33 "$Children" : [
34 {
35 "$$ClassName" : "TCastleLabel",
36 "FontSize" : 2.2000000000000000E+001,
37 "HorizontalAnchorParent" : "hpMiddle",
38 "HorizontalAnchorSelf" : "hpMiddle",
39 "MaxWidth" : 1.0000000000000000E+003,
40 "Name" : "LabelContent",
41 "Text" : [
42 "You can:",
43 "",
44 "- pan (move) the map (just click and drag anywhere that is not a unit) ",
45 "",
46 "- zoom (mouse wheel).",
47 "",
48 "Unit icon displayed on the map contains unit statistics:",
49 ""
50 ],
51 "TranslationPersistent" : {
52 "$$ClassName" : "TCastleVector2Persistent",
53 "Y" : 2.2000000000000000E+002
54 },
55 "VerticalAnchorParent" : "vpMiddle",
56 "VerticalAnchorSelf" : "vpMiddle"
57 },
58 {
59 "$$ClassName" : "TCastleButton",
60 "Caption" : "Close",
61 "CustomBackgroundDisabled" : {
62 "$$ClassName" : "TCastleImagePersistent"
63 },
64 "CustomBackgroundFocused" : {
65 "$$ClassName" : "TCastleImagePersistent"
66 },
67 "CustomBackgroundNormal" : {
68 "$$ClassName" : "TCastleImagePersistent"
69 },
70 "CustomBackgroundPressed" : {
71 "$$ClassName" : "TCastleImagePersistent"
72 },
73 "FontSize" : 3.0000000000000000E+001,
74 "HorizontalAnchorParent" : "hpRight",
75 "HorizontalAnchorSelf" : "hpRight",
76 "Image" : {
77 "$$ClassName" : "TCastleImagePersistent"
78 },
79 "Name" : "ButtonClose",
80 "TranslationPersistent" : {
81 "$$ClassName" : "TCastleVector2Persistent",
82 "X" : -6.0000000000000000E+001,
83 "Y" : 5.0000000000000000E+001
84 }
85 },
86 {
87 "$$ClassName" : "TCastleLabel",
88 "ColorPersistent" : {
89 "$$ClassName" : "TCastleColorPersistent",
90 "Red" : 5.0196081399917603E-001
91 },
92 "CustomFont" : "Font1",
93 "FontSize" : 6.0000000000000000E+001,
94 "HorizontalAnchorParent" : "hpMiddle",
95 "HorizontalAnchorSelf" : "hpMiddle",
96 "Name" : "LabelHeader",
97 "Text" : [
98 "\"Map and Units\""
99 ],
100 "TranslationPersistent" : {
101 "$$ClassName" : "TCastleVector2Persistent",
102 "Y" : -7.0000000000000000E+001
103 },
104 "VerticalAnchorParent" : "vpTop",
105 "VerticalAnchorSelf" : "vpTop",
106 "$NonVisualComponents" : [
107 {
108 "$$ClassName" : "TCastleFont",
109 "Name" : "Font1",
110 "OptimalSize" : 100,
111 "URL" : "castle-data:/fonts/DejaVuSerif-Bold.ttf"
112 }
113 ]
114 },
115 {
116 "$$ClassName" : "TCastleViewport",
117 "BackgroundColorPersistent" : {
118 "$$ClassName" : "TCastleColorPersistent",
119 "Blue" : 2.5000000000000000E-001,
120 "Green" : 2.5000000000000000E-001,
121 "Red" : 2.5000000000000000E-001
122 },
123 "Camera" : "Camera1",
124 "Height" : 5.0000000000000000E+002,
125 "HorizontalAnchorParent" : "hpMiddle",
126 "HorizontalAnchorSelf" : "hpMiddle",
127 "Items" : {
128 "$$ClassName" : "TCastleRootTransform",
129 "PhysicsProperties" : {
130 "$$ClassName" : "TPhysicsProperties",
131 "LayerCollisions" : {
132 "$$ClassName" : "TCastleLayerCollisions"
133 },
134 "LayerNames" : {
135 "$$ClassName" : "TCastleLayerNames"
136 }
137 },
138 "$Children" : [
139 {
140 "$$ClassName" : "TCastleCamera",
141 "Name" : "Camera1",
142 "Orthographic" : {
143 "$$ClassName" : "TCastleOrthographic",
144 "Height" : 2.8000000000000000E+002,
145 "OriginPersistent" : {
146 "$$ClassName" : "TCastleVector2Persistent",
147 "X" : 5.0000000000000000E-001,
148 "Y" : 5.0000000000000000E-001
149 }
150 },
151 "Perspective" : {
152 "$$ClassName" : "TCastlePerspective"
153 },
154 "ProjectionType" : "ptOrthographic",
155 "RotationPersistent" : {
156 "$$ClassName" : "TCastleVector4RotationPersistent",
157 "Z" : 1.0000000000000000E+000
158 },
159 "TranslationPersistent" : {
160 "$$ClassName" : "TCastleVector3Persistent",
161 "Z" : 5.0000000000000000E+002
162 }
163 },
164 {
165 "$$ClassName" : "TCastleTransformDesign",
166 "Name" : "DesignUnit1",
167 "RevertURL" : "castle-data:/unit.castle-transform",
168 "$Children" : [
169 {
170 "$$ClassName" : "TCastleTransform",
171 "Name" : "UnitRoot",
172 "$Children" : [
173 {
174 "$$ClassName" : "TCastleImageTransform",
175 "ColorPersistent" : {
176 "$$ClassName" : "TCastleColorPersistent",
177 "Alpha" : 7.5000000000000000E-001,
178 "Blue" : 2.9803922772407532E-001,
179 "Green" : 4.0000000596046448E-001
180 },
181 "Name" : "Background",
182 "Url" : "castle-data:/units/unit_background_frame.png"
183 },
184 {
185 "$$ClassName" : "TCastleImageTransform",
186 "Name" : "ImageIcon",
187 "SizePersistent" : {
188 "$$ClassName" : "TCastleVector2Persistent",
189 "Y" : 1.8000000000000000E+002
190 },
191 "TranslationPersistent" : {
192 "$$ClassName" : "TCastleVector3Persistent",
193 "Z" : 1.0000000000000000E+001
194 },
195 "Url" : "castle-data:/units/human1.png"
196 },
197 {
198 "$$ClassName" : "TCastleText",
199 "ColorPersistent" : {
200 "$$ClassName" : "TCastleColorPersistent",
201 "Blue" : 0.0000000000000000E+000,
202 "Green" : 0.0000000000000000E+000,
203 "Red" : 0.0000000000000000E+000
204 },
205 "Name" : "TextAttack",
206 "RenderOptions" : {
207 "$$ClassName" : "TCastleScene.TSceneRenderOptions"
208 },
209 "Size" : 2.0000000000000000E+001,
210 "Text" : [
211 "Attack"
212 ],
213 "TranslationPersistent" : {
214 "$$ClassName" : "TCastleVector3Persistent",
215 "X" : -1.1301948547363281E+002,
216 "Y" : 1.1185552978515625E+002,
217 "Z" : 2.0000000000000000E+001
218 },
219 "VerticalAlignment" : "vpTop"
220 },
221 {
222 "$$ClassName" : "TCastleText",
223 "ColorPersistent" : {
224 "$$ClassName" : "TCastleColorPersistent",
225 "Blue" : 0.0000000000000000E+000,
226 "Green" : 0.0000000000000000E+000,
227 "Red" : 0.0000000000000000E+000
228 },
229 "Name" : "TextLife",
230 "RenderOptions" : {
231 "$$ClassName" : "TCastleScene.TSceneRenderOptions"
232 },
233 "Size" : 2.0000000000000000E+001,
234 "Text" : [
235 "Life"
236 ],
237 "TranslationPersistent" : {
238 "$$ClassName" : "TCastleVector3Persistent",
239 "X" : -1.1301948547363281E+002,
240 "Y" : -1.1303272247314453E+002,
241 "Z" : 2.0000000000000000E+001
242 }
243 },
244 {
245 "$$ClassName" : "TCastleText",
246 "Alignment" : "hpRight",
247 "ColorPersistent" : {
248 "$$ClassName" : "TCastleColorPersistent",
249 "Blue" : 0.0000000000000000E+000,
250 "Green" : 0.0000000000000000E+000,
251 "Red" : 0.0000000000000000E+000
252 },
253 "Name" : "TextMovement",
254 "RenderOptions" : {
255 "$$ClassName" : "TCastleScene.TSceneRenderOptions"
256 },
257 "Size" : 2.0000000000000000E+001,
258 "Text" : [
259 "Movement"
260 ],
261 "TranslationPersistent" : {
262 "$$ClassName" : "TCastleVector3Persistent",
263 "X" : 1.1108586883544922E+002,
264 "Y" : -1.1303272247314453E+002,
265 "Z" : 2.0000000000000000E+001
266 }
267 }
268 ]
269 }
270 ]
271 }
272 ]
273 },
274 "Name" : "ViewportUnitDemo",
275 "TranslationPersistent" : {
276 "$$ClassName" : "TCastleVector2Persistent",
277 "Y" : -1.3000000000000000E+002
278 },
279 "Transparent" : true,
280 "VerticalAnchorParent" : "vpMiddle",
281 "VerticalAnchorSelf" : "vpMiddle",
282 "Width" : 5.0000000000000000E+002,
283 "InternalDesignCamera" : {
284 "$$ClassName" : "TCastleCamera",
285 "Name" : "",
286 "Orthographic" : {
287 "$$ClassName" : "TCastleOrthographic",
288 "Height" : 2.8000000000000000E+002,
289 "OriginPersistent" : {
290 "$$ClassName" : "TCastleVector2Persistent",
291 "X" : 5.0000000000000000E-001,
292 "Y" : 5.0000000000000000E-001
293 }
294 },
295 "Perspective" : {
296 "$$ClassName" : "TCastlePerspective"
297 },
298 "ProjectionType" : "ptOrthographic",
299 "RotationPersistent" : {
300 "$$ClassName" : "TCastleVector4RotationPersistent",
301 "Z" : 1.0000000000000000E+000
302 },
303 "TranslationPersistent" : {
304 "$$ClassName" : "TCastleVector3Persistent",
305 "Z" : 6.0000000000000000E+002
306 }
307 },
308 "InternalDesignNavigationType" : 2,
309 "InternalDesignNavigations[dnFly]" : {
310 "$$ClassName" : "TCastleWalkNavigationDesign",
311 "Exists" : false,
312 "Name" : ""
313 },
314 "InternalDesignNavigations[dnExamine]" : {
315 "$$ClassName" : "TCastleExamineNavigationDesign",
316 "Exists" : false,
317 "Name" : ""
318 },
319 "InternalDesignNavigations[dn2D]" : {
320 "$$ClassName" : "TCastle2DNavigationDesign",
321 "Name" : ""
322 }
323 }
324 ]
325 }
326 ]
327 }