@lightningjs/blits 0.9.5 → 0.9.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +46 -39
- package/package.json +2 -2
- package/src/application.d.ts +25 -0
- package/src/components/Circle.js +27 -30
- package/src/components/Circle.orig.js +29 -3
- package/src/components/FPScounter.js +1024 -1078
- package/src/components/FPScounter.orig.js +1024 -41
- package/src/components/Image.js +18 -21
- package/src/components/Image.orig.js +20 -2
- package/src/components/RouterView.js +17 -20
- package/src/components/RouterView.orig.js +19 -3
- package/src/components/Sprite.js +23 -27
- package/src/components/Sprite.orig.js +25 -3
- package/src/components/Text.js +53 -57
- package/src/components/Text.orig.js +55 -21
- package/src/lib/codegenerator/generator.js +8 -5
- package/src/router/router.js +22 -4
|
@@ -21,47 +21,1030 @@ import fps_sprite from '../../public/assets/fps_sprite.base64.js'
|
|
|
21
21
|
|
|
22
22
|
export default () =>
|
|
23
23
|
Component('FPScounter', {
|
|
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
|
-
|
|
24
|
+
/* eslint-disable no-unused-vars */
|
|
25
|
+
code: { render: function anonymous(parent,component,context
|
|
26
|
+
) {
|
|
27
|
+
const elms = []
|
|
28
|
+
|
|
29
|
+
if(!elms[0]) {
|
|
30
|
+
elms[0] = this.element({parent: parent || 'root'}, component)
|
|
31
|
+
}
|
|
32
|
+
const elementConfig0 = {}
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
if(!elms[0].nodeId) {
|
|
36
|
+
elms[0].populate(elementConfig0)
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
parent = elms[0]
|
|
40
|
+
|
|
41
|
+
if(!elms[1]) {
|
|
42
|
+
elms[1] = this.element({parent: parent || 'root'}, component)
|
|
43
|
+
}
|
|
44
|
+
const elementConfig1 = {}
|
|
45
|
+
|
|
46
|
+
elementConfig1['y'] = 15
|
|
47
|
+
elementConfig1['x'] = 20
|
|
48
|
+
|
|
49
|
+
if(!elms[1].nodeId) {
|
|
50
|
+
elms[1].populate(elementConfig1)
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
parent = elms[1]
|
|
54
|
+
|
|
55
|
+
if(!elms[2]) {
|
|
56
|
+
elms[2] = this.element({parent: parent || 'root'}, component)
|
|
57
|
+
}
|
|
58
|
+
const elementConfig2 = {}
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
if(!elms[2].nodeId) {
|
|
62
|
+
elms[2].populate(elementConfig2)
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
const cmp3 =
|
|
67
|
+
(context.components && context.components['Sprite']) ||
|
|
68
|
+
component[Symbol.for('components')]['Sprite']
|
|
69
|
+
|
|
70
|
+
parent = elms[2]
|
|
71
|
+
|
|
72
|
+
if(!elms[3]) {
|
|
73
|
+
elms[3] = this.element({parent: parent || 'root'}, component)
|
|
74
|
+
}
|
|
75
|
+
const elementConfig3 = {}
|
|
76
|
+
|
|
77
|
+
elementConfig3['image'] = component.image
|
|
78
|
+
elementConfig3['w'] = 43
|
|
79
|
+
elementConfig3['h'] = 25
|
|
80
|
+
elementConfig3['map'] = component.sprite
|
|
81
|
+
elementConfig3['frame'] = "fps"
|
|
82
|
+
|
|
83
|
+
if(typeof cmp3 !== 'undefined') {
|
|
84
|
+
for(let key in cmp3.config.props) {
|
|
85
|
+
delete elementConfig3[cmp3.config.props[key]]
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
if(!elms[3].nodeId) {
|
|
91
|
+
elms[3].populate(elementConfig3)
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
parent = elms[3]
|
|
95
|
+
const props4 = {}
|
|
96
|
+
props4['image'] = component.image
|
|
97
|
+
props4['w'] = 43
|
|
98
|
+
props4['h'] = 25
|
|
99
|
+
props4['map'] = component.sprite
|
|
100
|
+
props4['frame'] = "fps"
|
|
101
|
+
|
|
102
|
+
if(!elms[4]) {
|
|
103
|
+
const componentType = props4['is'] || 'Sprite'
|
|
104
|
+
|
|
105
|
+
elms[4] = (context.components && context.components[componentType] || component[Symbol.for('components')][componentType] || (() => { console.error('component Sprite not found')})).call(null, {props: props4}, elms[3], component)
|
|
106
|
+
if (elms[4][Symbol.for('slots')][0]) {
|
|
107
|
+
parent = elms[4][Symbol.for('slots')][0]
|
|
108
|
+
component = elms[4]
|
|
109
|
+
} else {
|
|
110
|
+
parent = elms[4][Symbol.for('children')][0]
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
parent = elms[2]
|
|
115
|
+
|
|
116
|
+
if(!elms[5]) {
|
|
117
|
+
elms[5] = this.element({parent: parent || 'root'}, component)
|
|
118
|
+
}
|
|
119
|
+
const elementConfig5 = {}
|
|
120
|
+
|
|
121
|
+
elementConfig5['x'] = 58
|
|
122
|
+
elementConfig5['y'] = 2
|
|
123
|
+
|
|
124
|
+
if(!elms[5].nodeId) {
|
|
125
|
+
elms[5].populate(elementConfig5)
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
const cmp6 =
|
|
130
|
+
(context.components && context.components['Sprite']) ||
|
|
131
|
+
component[Symbol.for('components')]['Sprite']
|
|
132
|
+
|
|
133
|
+
parent = elms[5]
|
|
134
|
+
|
|
135
|
+
if(!elms[6]) {
|
|
136
|
+
elms[6] = this.element({parent: parent || 'root'}, component)
|
|
137
|
+
}
|
|
138
|
+
const elementConfig6 = {}
|
|
139
|
+
|
|
140
|
+
elementConfig6['image'] = component.image
|
|
141
|
+
elementConfig6['x'] = 0
|
|
142
|
+
elementConfig6['h'] = 20
|
|
143
|
+
elementConfig6['w'] = 20
|
|
144
|
+
elementConfig6['map'] = component.sprite
|
|
145
|
+
|
|
146
|
+
if(typeof cmp6 !== 'undefined') {
|
|
147
|
+
for(let key in cmp6.config.props) {
|
|
148
|
+
delete elementConfig6[cmp6.config.props[key]]
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
if(!elms[6].nodeId) {
|
|
154
|
+
elms[6].populate(elementConfig6)
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
parent = elms[6]
|
|
158
|
+
const props7 = {}
|
|
159
|
+
props7['image'] = component.image
|
|
160
|
+
props7['x'] = 0
|
|
161
|
+
props7['h'] = 20
|
|
162
|
+
props7['w'] = 20
|
|
163
|
+
props7['map'] = component.sprite
|
|
164
|
+
props7['frame'] = component.fps[0]
|
|
165
|
+
|
|
166
|
+
if(!elms[7]) {
|
|
167
|
+
const componentType = props7['is'] || 'Sprite'
|
|
168
|
+
|
|
169
|
+
elms[7] = (context.components && context.components[componentType] || component[Symbol.for('components')][componentType] || (() => { console.error('component Sprite not found')})).call(null, {props: props7}, elms[6], component)
|
|
170
|
+
if (elms[7][Symbol.for('slots')][0]) {
|
|
171
|
+
parent = elms[7][Symbol.for('slots')][0]
|
|
172
|
+
component = elms[7]
|
|
173
|
+
} else {
|
|
174
|
+
parent = elms[7][Symbol.for('children')][0]
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
const cmp8 =
|
|
180
|
+
(context.components && context.components['Sprite']) ||
|
|
181
|
+
component[Symbol.for('components')]['Sprite']
|
|
182
|
+
|
|
183
|
+
parent = elms[5]
|
|
184
|
+
|
|
185
|
+
if(!elms[8]) {
|
|
186
|
+
elms[8] = this.element({parent: parent || 'root'}, component)
|
|
187
|
+
}
|
|
188
|
+
const elementConfig8 = {}
|
|
189
|
+
|
|
190
|
+
elementConfig8['image'] = component.image
|
|
191
|
+
elementConfig8['x'] = 18
|
|
192
|
+
elementConfig8['h'] = 20
|
|
193
|
+
elementConfig8['w'] = 20
|
|
194
|
+
elementConfig8['map'] = component.sprite
|
|
195
|
+
|
|
196
|
+
if(typeof cmp8 !== 'undefined') {
|
|
197
|
+
for(let key in cmp8.config.props) {
|
|
198
|
+
delete elementConfig8[cmp8.config.props[key]]
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
if(!elms[8].nodeId) {
|
|
204
|
+
elms[8].populate(elementConfig8)
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
parent = elms[8]
|
|
208
|
+
const props9 = {}
|
|
209
|
+
props9['image'] = component.image
|
|
210
|
+
props9['x'] = 18
|
|
211
|
+
props9['h'] = 20
|
|
212
|
+
props9['w'] = 20
|
|
213
|
+
props9['map'] = component.sprite
|
|
214
|
+
props9['frame'] = component.fps[1]
|
|
215
|
+
|
|
216
|
+
if(!elms[9]) {
|
|
217
|
+
const componentType = props9['is'] || 'Sprite'
|
|
218
|
+
|
|
219
|
+
elms[9] = (context.components && context.components[componentType] || component[Symbol.for('components')][componentType] || (() => { console.error('component Sprite not found')})).call(null, {props: props9}, elms[8], component)
|
|
220
|
+
if (elms[9][Symbol.for('slots')][0]) {
|
|
221
|
+
parent = elms[9][Symbol.for('slots')][0]
|
|
222
|
+
component = elms[9]
|
|
223
|
+
} else {
|
|
224
|
+
parent = elms[9][Symbol.for('children')][0]
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
const cmp10 =
|
|
230
|
+
(context.components && context.components['Sprite']) ||
|
|
231
|
+
component[Symbol.for('components')]['Sprite']
|
|
232
|
+
|
|
233
|
+
parent = elms[5]
|
|
234
|
+
|
|
235
|
+
if(!elms[10]) {
|
|
236
|
+
elms[10] = this.element({parent: parent || 'root'}, component)
|
|
237
|
+
}
|
|
238
|
+
const elementConfig10 = {}
|
|
239
|
+
|
|
240
|
+
elementConfig10['image'] = component.image
|
|
241
|
+
elementConfig10['x'] = 36
|
|
242
|
+
elementConfig10['h'] = 20
|
|
243
|
+
elementConfig10['w'] = 20
|
|
244
|
+
elementConfig10['map'] = component.sprite
|
|
245
|
+
|
|
246
|
+
if(typeof cmp10 !== 'undefined') {
|
|
247
|
+
for(let key in cmp10.config.props) {
|
|
248
|
+
delete elementConfig10[cmp10.config.props[key]]
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
if(!elms[10].nodeId) {
|
|
254
|
+
elms[10].populate(elementConfig10)
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
parent = elms[10]
|
|
258
|
+
const props11 = {}
|
|
259
|
+
props11['image'] = component.image
|
|
260
|
+
props11['x'] = 36
|
|
261
|
+
props11['h'] = 20
|
|
262
|
+
props11['w'] = 20
|
|
263
|
+
props11['map'] = component.sprite
|
|
264
|
+
props11['frame'] = component.fps[2]
|
|
265
|
+
|
|
266
|
+
if(!elms[11]) {
|
|
267
|
+
const componentType = props11['is'] || 'Sprite'
|
|
268
|
+
|
|
269
|
+
elms[11] = (context.components && context.components[componentType] || component[Symbol.for('components')][componentType] || (() => { console.error('component Sprite not found')})).call(null, {props: props11}, elms[10], component)
|
|
270
|
+
if (elms[11][Symbol.for('slots')][0]) {
|
|
271
|
+
parent = elms[11][Symbol.for('slots')][0]
|
|
272
|
+
component = elms[11]
|
|
273
|
+
} else {
|
|
274
|
+
parent = elms[11][Symbol.for('children')][0]
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
parent = elms[1]
|
|
279
|
+
|
|
280
|
+
if(!elms[12]) {
|
|
281
|
+
elms[12] = this.element({parent: parent || 'root'}, component)
|
|
282
|
+
}
|
|
283
|
+
const elementConfig12 = {}
|
|
284
|
+
|
|
285
|
+
elementConfig12['x'] = 150
|
|
286
|
+
|
|
287
|
+
if(!elms[12].nodeId) {
|
|
288
|
+
elms[12].populate(elementConfig12)
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
const cmp13 =
|
|
293
|
+
(context.components && context.components['Sprite']) ||
|
|
294
|
+
component[Symbol.for('components')]['Sprite']
|
|
295
|
+
|
|
296
|
+
parent = elms[12]
|
|
297
|
+
|
|
298
|
+
if(!elms[13]) {
|
|
299
|
+
elms[13] = this.element({parent: parent || 'root'}, component)
|
|
300
|
+
}
|
|
301
|
+
const elementConfig13 = {}
|
|
302
|
+
|
|
303
|
+
elementConfig13['image'] = component.image
|
|
304
|
+
elementConfig13['y'] = 2
|
|
305
|
+
elementConfig13['w'] = 48
|
|
306
|
+
elementConfig13['h'] = 25
|
|
307
|
+
elementConfig13['map'] = component.sprite
|
|
308
|
+
elementConfig13['frame'] = "avg"
|
|
309
|
+
|
|
310
|
+
if(typeof cmp13 !== 'undefined') {
|
|
311
|
+
for(let key in cmp13.config.props) {
|
|
312
|
+
delete elementConfig13[cmp13.config.props[key]]
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
if(!elms[13].nodeId) {
|
|
318
|
+
elms[13].populate(elementConfig13)
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
parent = elms[13]
|
|
322
|
+
const props14 = {}
|
|
323
|
+
props14['image'] = component.image
|
|
324
|
+
props14['y'] = 2
|
|
325
|
+
props14['w'] = 48
|
|
326
|
+
props14['h'] = 25
|
|
327
|
+
props14['map'] = component.sprite
|
|
328
|
+
props14['frame'] = "avg"
|
|
329
|
+
|
|
330
|
+
if(!elms[14]) {
|
|
331
|
+
const componentType = props14['is'] || 'Sprite'
|
|
332
|
+
|
|
333
|
+
elms[14] = (context.components && context.components[componentType] || component[Symbol.for('components')][componentType] || (() => { console.error('component Sprite not found')})).call(null, {props: props14}, elms[13], component)
|
|
334
|
+
if (elms[14][Symbol.for('slots')][0]) {
|
|
335
|
+
parent = elms[14][Symbol.for('slots')][0]
|
|
336
|
+
component = elms[14]
|
|
337
|
+
} else {
|
|
338
|
+
parent = elms[14][Symbol.for('children')][0]
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
parent = elms[12]
|
|
343
|
+
|
|
344
|
+
if(!elms[15]) {
|
|
345
|
+
elms[15] = this.element({parent: parent || 'root'}, component)
|
|
346
|
+
}
|
|
347
|
+
const elementConfig15 = {}
|
|
348
|
+
|
|
349
|
+
elementConfig15['x'] = 63
|
|
350
|
+
elementConfig15['y'] = 2
|
|
351
|
+
|
|
352
|
+
if(!elms[15].nodeId) {
|
|
353
|
+
elms[15].populate(elementConfig15)
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
const cmp16 =
|
|
358
|
+
(context.components && context.components['Sprite']) ||
|
|
359
|
+
component[Symbol.for('components')]['Sprite']
|
|
360
|
+
|
|
361
|
+
parent = elms[15]
|
|
362
|
+
|
|
363
|
+
if(!elms[16]) {
|
|
364
|
+
elms[16] = this.element({parent: parent || 'root'}, component)
|
|
365
|
+
}
|
|
366
|
+
const elementConfig16 = {}
|
|
367
|
+
|
|
368
|
+
elementConfig16['image'] = component.image
|
|
369
|
+
elementConfig16['x'] = 0
|
|
370
|
+
elementConfig16['h'] = 20
|
|
371
|
+
elementConfig16['w'] = 20
|
|
372
|
+
elementConfig16['map'] = component.sprite
|
|
373
|
+
|
|
374
|
+
if(typeof cmp16 !== 'undefined') {
|
|
375
|
+
for(let key in cmp16.config.props) {
|
|
376
|
+
delete elementConfig16[cmp16.config.props[key]]
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
if(!elms[16].nodeId) {
|
|
382
|
+
elms[16].populate(elementConfig16)
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
parent = elms[16]
|
|
386
|
+
const props17 = {}
|
|
387
|
+
props17['image'] = component.image
|
|
388
|
+
props17['x'] = 0
|
|
389
|
+
props17['h'] = 20
|
|
390
|
+
props17['w'] = 20
|
|
391
|
+
props17['map'] = component.sprite
|
|
392
|
+
props17['frame'] = component.avgFps[0]
|
|
393
|
+
|
|
394
|
+
if(!elms[17]) {
|
|
395
|
+
const componentType = props17['is'] || 'Sprite'
|
|
396
|
+
|
|
397
|
+
elms[17] = (context.components && context.components[componentType] || component[Symbol.for('components')][componentType] || (() => { console.error('component Sprite not found')})).call(null, {props: props17}, elms[16], component)
|
|
398
|
+
if (elms[17][Symbol.for('slots')][0]) {
|
|
399
|
+
parent = elms[17][Symbol.for('slots')][0]
|
|
400
|
+
component = elms[17]
|
|
401
|
+
} else {
|
|
402
|
+
parent = elms[17][Symbol.for('children')][0]
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
const cmp18 =
|
|
408
|
+
(context.components && context.components['Sprite']) ||
|
|
409
|
+
component[Symbol.for('components')]['Sprite']
|
|
410
|
+
|
|
411
|
+
parent = elms[15]
|
|
412
|
+
|
|
413
|
+
if(!elms[18]) {
|
|
414
|
+
elms[18] = this.element({parent: parent || 'root'}, component)
|
|
415
|
+
}
|
|
416
|
+
const elementConfig18 = {}
|
|
417
|
+
|
|
418
|
+
elementConfig18['image'] = component.image
|
|
419
|
+
elementConfig18['x'] = 18
|
|
420
|
+
elementConfig18['h'] = 20
|
|
421
|
+
elementConfig18['w'] = 20
|
|
422
|
+
elementConfig18['map'] = component.sprite
|
|
423
|
+
|
|
424
|
+
if(typeof cmp18 !== 'undefined') {
|
|
425
|
+
for(let key in cmp18.config.props) {
|
|
426
|
+
delete elementConfig18[cmp18.config.props[key]]
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
if(!elms[18].nodeId) {
|
|
432
|
+
elms[18].populate(elementConfig18)
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
parent = elms[18]
|
|
436
|
+
const props19 = {}
|
|
437
|
+
props19['image'] = component.image
|
|
438
|
+
props19['x'] = 18
|
|
439
|
+
props19['h'] = 20
|
|
440
|
+
props19['w'] = 20
|
|
441
|
+
props19['map'] = component.sprite
|
|
442
|
+
props19['frame'] = component.avgFps[1]
|
|
443
|
+
|
|
444
|
+
if(!elms[19]) {
|
|
445
|
+
const componentType = props19['is'] || 'Sprite'
|
|
446
|
+
|
|
447
|
+
elms[19] = (context.components && context.components[componentType] || component[Symbol.for('components')][componentType] || (() => { console.error('component Sprite not found')})).call(null, {props: props19}, elms[18], component)
|
|
448
|
+
if (elms[19][Symbol.for('slots')][0]) {
|
|
449
|
+
parent = elms[19][Symbol.for('slots')][0]
|
|
450
|
+
component = elms[19]
|
|
451
|
+
} else {
|
|
452
|
+
parent = elms[19][Symbol.for('children')][0]
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
const cmp20 =
|
|
458
|
+
(context.components && context.components['Sprite']) ||
|
|
459
|
+
component[Symbol.for('components')]['Sprite']
|
|
460
|
+
|
|
461
|
+
parent = elms[15]
|
|
462
|
+
|
|
463
|
+
if(!elms[20]) {
|
|
464
|
+
elms[20] = this.element({parent: parent || 'root'}, component)
|
|
465
|
+
}
|
|
466
|
+
const elementConfig20 = {}
|
|
467
|
+
|
|
468
|
+
elementConfig20['image'] = component.image
|
|
469
|
+
elementConfig20['x'] = 36
|
|
470
|
+
elementConfig20['h'] = 20
|
|
471
|
+
elementConfig20['w'] = 20
|
|
472
|
+
elementConfig20['map'] = component.sprite
|
|
473
|
+
|
|
474
|
+
if(typeof cmp20 !== 'undefined') {
|
|
475
|
+
for(let key in cmp20.config.props) {
|
|
476
|
+
delete elementConfig20[cmp20.config.props[key]]
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
if(!elms[20].nodeId) {
|
|
482
|
+
elms[20].populate(elementConfig20)
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
parent = elms[20]
|
|
486
|
+
const props21 = {}
|
|
487
|
+
props21['image'] = component.image
|
|
488
|
+
props21['x'] = 36
|
|
489
|
+
props21['h'] = 20
|
|
490
|
+
props21['w'] = 20
|
|
491
|
+
props21['map'] = component.sprite
|
|
492
|
+
props21['frame'] = component.avgFps[2]
|
|
493
|
+
|
|
494
|
+
if(!elms[21]) {
|
|
495
|
+
const componentType = props21['is'] || 'Sprite'
|
|
496
|
+
|
|
497
|
+
elms[21] = (context.components && context.components[componentType] || component[Symbol.for('components')][componentType] || (() => { console.error('component Sprite not found')})).call(null, {props: props21}, elms[20], component)
|
|
498
|
+
if (elms[21][Symbol.for('slots')][0]) {
|
|
499
|
+
parent = elms[21][Symbol.for('slots')][0]
|
|
500
|
+
component = elms[21]
|
|
501
|
+
} else {
|
|
502
|
+
parent = elms[21][Symbol.for('children')][0]
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
parent = elms[1]
|
|
507
|
+
|
|
508
|
+
if(!elms[22]) {
|
|
509
|
+
elms[22] = this.element({parent: parent || 'root'}, component)
|
|
510
|
+
}
|
|
511
|
+
const elementConfig22 = {}
|
|
512
|
+
|
|
513
|
+
elementConfig22['x'] = 0
|
|
514
|
+
elementConfig22['y'] = 40
|
|
515
|
+
|
|
516
|
+
if(!elms[22].nodeId) {
|
|
517
|
+
elms[22].populate(elementConfig22)
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
const cmp23 =
|
|
522
|
+
(context.components && context.components['Sprite']) ||
|
|
523
|
+
component[Symbol.for('components')]['Sprite']
|
|
524
|
+
|
|
525
|
+
parent = elms[22]
|
|
526
|
+
|
|
527
|
+
if(!elms[23]) {
|
|
528
|
+
elms[23] = this.element({parent: parent || 'root'}, component)
|
|
529
|
+
}
|
|
530
|
+
const elementConfig23 = {}
|
|
531
|
+
|
|
532
|
+
elementConfig23['image'] = component.image
|
|
533
|
+
elementConfig23['x'] = -2
|
|
534
|
+
elementConfig23['w'] = 47
|
|
535
|
+
elementConfig23['h'] = 25
|
|
536
|
+
elementConfig23['map'] = component.sprite
|
|
537
|
+
elementConfig23['frame'] = "min"
|
|
538
|
+
|
|
539
|
+
if(typeof cmp23 !== 'undefined') {
|
|
540
|
+
for(let key in cmp23.config.props) {
|
|
541
|
+
delete elementConfig23[cmp23.config.props[key]]
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
if(!elms[23].nodeId) {
|
|
547
|
+
elms[23].populate(elementConfig23)
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
parent = elms[23]
|
|
551
|
+
const props24 = {}
|
|
552
|
+
props24['image'] = component.image
|
|
553
|
+
props24['x'] = -2
|
|
554
|
+
props24['w'] = 47
|
|
555
|
+
props24['h'] = 25
|
|
556
|
+
props24['map'] = component.sprite
|
|
557
|
+
props24['frame'] = "min"
|
|
558
|
+
|
|
559
|
+
if(!elms[24]) {
|
|
560
|
+
const componentType = props24['is'] || 'Sprite'
|
|
561
|
+
|
|
562
|
+
elms[24] = (context.components && context.components[componentType] || component[Symbol.for('components')][componentType] || (() => { console.error('component Sprite not found')})).call(null, {props: props24}, elms[23], component)
|
|
563
|
+
if (elms[24][Symbol.for('slots')][0]) {
|
|
564
|
+
parent = elms[24][Symbol.for('slots')][0]
|
|
565
|
+
component = elms[24]
|
|
566
|
+
} else {
|
|
567
|
+
parent = elms[24][Symbol.for('children')][0]
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
parent = elms[22]
|
|
572
|
+
|
|
573
|
+
if(!elms[25]) {
|
|
574
|
+
elms[25] = this.element({parent: parent || 'root'}, component)
|
|
575
|
+
}
|
|
576
|
+
const elementConfig25 = {}
|
|
577
|
+
|
|
578
|
+
elementConfig25['x'] = 58
|
|
579
|
+
elementConfig25['y'] = 2
|
|
580
|
+
|
|
581
|
+
if(!elms[25].nodeId) {
|
|
582
|
+
elms[25].populate(elementConfig25)
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
const cmp26 =
|
|
587
|
+
(context.components && context.components['Sprite']) ||
|
|
588
|
+
component[Symbol.for('components')]['Sprite']
|
|
589
|
+
|
|
590
|
+
parent = elms[25]
|
|
591
|
+
|
|
592
|
+
if(!elms[26]) {
|
|
593
|
+
elms[26] = this.element({parent: parent || 'root'}, component)
|
|
594
|
+
}
|
|
595
|
+
const elementConfig26 = {}
|
|
596
|
+
|
|
597
|
+
elementConfig26['image'] = component.image
|
|
598
|
+
elementConfig26['x'] = 0
|
|
599
|
+
elementConfig26['h'] = 20
|
|
600
|
+
elementConfig26['w'] = 20
|
|
601
|
+
elementConfig26['map'] = component.sprite
|
|
602
|
+
|
|
603
|
+
if(typeof cmp26 !== 'undefined') {
|
|
604
|
+
for(let key in cmp26.config.props) {
|
|
605
|
+
delete elementConfig26[cmp26.config.props[key]]
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
if(!elms[26].nodeId) {
|
|
611
|
+
elms[26].populate(elementConfig26)
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
parent = elms[26]
|
|
615
|
+
const props27 = {}
|
|
616
|
+
props27['image'] = component.image
|
|
617
|
+
props27['x'] = 0
|
|
618
|
+
props27['h'] = 20
|
|
619
|
+
props27['w'] = 20
|
|
620
|
+
props27['map'] = component.sprite
|
|
621
|
+
props27['frame'] = component.minFps[0]
|
|
622
|
+
|
|
623
|
+
if(!elms[27]) {
|
|
624
|
+
const componentType = props27['is'] || 'Sprite'
|
|
625
|
+
|
|
626
|
+
elms[27] = (context.components && context.components[componentType] || component[Symbol.for('components')][componentType] || (() => { console.error('component Sprite not found')})).call(null, {props: props27}, elms[26], component)
|
|
627
|
+
if (elms[27][Symbol.for('slots')][0]) {
|
|
628
|
+
parent = elms[27][Symbol.for('slots')][0]
|
|
629
|
+
component = elms[27]
|
|
630
|
+
} else {
|
|
631
|
+
parent = elms[27][Symbol.for('children')][0]
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
|
|
636
|
+
const cmp28 =
|
|
637
|
+
(context.components && context.components['Sprite']) ||
|
|
638
|
+
component[Symbol.for('components')]['Sprite']
|
|
639
|
+
|
|
640
|
+
parent = elms[25]
|
|
641
|
+
|
|
642
|
+
if(!elms[28]) {
|
|
643
|
+
elms[28] = this.element({parent: parent || 'root'}, component)
|
|
644
|
+
}
|
|
645
|
+
const elementConfig28 = {}
|
|
646
|
+
|
|
647
|
+
elementConfig28['image'] = component.image
|
|
648
|
+
elementConfig28['x'] = 18
|
|
649
|
+
elementConfig28['h'] = 20
|
|
650
|
+
elementConfig28['w'] = 20
|
|
651
|
+
elementConfig28['map'] = component.sprite
|
|
652
|
+
|
|
653
|
+
if(typeof cmp28 !== 'undefined') {
|
|
654
|
+
for(let key in cmp28.config.props) {
|
|
655
|
+
delete elementConfig28[cmp28.config.props[key]]
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
|
|
660
|
+
if(!elms[28].nodeId) {
|
|
661
|
+
elms[28].populate(elementConfig28)
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
parent = elms[28]
|
|
665
|
+
const props29 = {}
|
|
666
|
+
props29['image'] = component.image
|
|
667
|
+
props29['x'] = 18
|
|
668
|
+
props29['h'] = 20
|
|
669
|
+
props29['w'] = 20
|
|
670
|
+
props29['map'] = component.sprite
|
|
671
|
+
props29['frame'] = component.minFps[1]
|
|
672
|
+
|
|
673
|
+
if(!elms[29]) {
|
|
674
|
+
const componentType = props29['is'] || 'Sprite'
|
|
675
|
+
|
|
676
|
+
elms[29] = (context.components && context.components[componentType] || component[Symbol.for('components')][componentType] || (() => { console.error('component Sprite not found')})).call(null, {props: props29}, elms[28], component)
|
|
677
|
+
if (elms[29][Symbol.for('slots')][0]) {
|
|
678
|
+
parent = elms[29][Symbol.for('slots')][0]
|
|
679
|
+
component = elms[29]
|
|
680
|
+
} else {
|
|
681
|
+
parent = elms[29][Symbol.for('children')][0]
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
|
|
686
|
+
const cmp30 =
|
|
687
|
+
(context.components && context.components['Sprite']) ||
|
|
688
|
+
component[Symbol.for('components')]['Sprite']
|
|
689
|
+
|
|
690
|
+
parent = elms[25]
|
|
691
|
+
|
|
692
|
+
if(!elms[30]) {
|
|
693
|
+
elms[30] = this.element({parent: parent || 'root'}, component)
|
|
694
|
+
}
|
|
695
|
+
const elementConfig30 = {}
|
|
696
|
+
|
|
697
|
+
elementConfig30['image'] = component.image
|
|
698
|
+
elementConfig30['x'] = 36
|
|
699
|
+
elementConfig30['h'] = 20
|
|
700
|
+
elementConfig30['w'] = 20
|
|
701
|
+
elementConfig30['map'] = component.sprite
|
|
702
|
+
|
|
703
|
+
if(typeof cmp30 !== 'undefined') {
|
|
704
|
+
for(let key in cmp30.config.props) {
|
|
705
|
+
delete elementConfig30[cmp30.config.props[key]]
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
|
|
710
|
+
if(!elms[30].nodeId) {
|
|
711
|
+
elms[30].populate(elementConfig30)
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
parent = elms[30]
|
|
715
|
+
const props31 = {}
|
|
716
|
+
props31['image'] = component.image
|
|
717
|
+
props31['x'] = 36
|
|
718
|
+
props31['h'] = 20
|
|
719
|
+
props31['w'] = 20
|
|
720
|
+
props31['map'] = component.sprite
|
|
721
|
+
props31['frame'] = component.minFps[2]
|
|
722
|
+
|
|
723
|
+
if(!elms[31]) {
|
|
724
|
+
const componentType = props31['is'] || 'Sprite'
|
|
725
|
+
|
|
726
|
+
elms[31] = (context.components && context.components[componentType] || component[Symbol.for('components')][componentType] || (() => { console.error('component Sprite not found')})).call(null, {props: props31}, elms[30], component)
|
|
727
|
+
if (elms[31][Symbol.for('slots')][0]) {
|
|
728
|
+
parent = elms[31][Symbol.for('slots')][0]
|
|
729
|
+
component = elms[31]
|
|
730
|
+
} else {
|
|
731
|
+
parent = elms[31][Symbol.for('children')][0]
|
|
732
|
+
}
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
parent = elms[1]
|
|
736
|
+
|
|
737
|
+
if(!elms[32]) {
|
|
738
|
+
elms[32] = this.element({parent: parent || 'root'}, component)
|
|
739
|
+
}
|
|
740
|
+
const elementConfig32 = {}
|
|
741
|
+
|
|
742
|
+
elementConfig32['x'] = 150
|
|
743
|
+
elementConfig32['y'] = 40
|
|
744
|
+
|
|
745
|
+
if(!elms[32].nodeId) {
|
|
746
|
+
elms[32].populate(elementConfig32)
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
|
|
750
|
+
const cmp33 =
|
|
751
|
+
(context.components && context.components['Sprite']) ||
|
|
752
|
+
component[Symbol.for('components')]['Sprite']
|
|
753
|
+
|
|
754
|
+
parent = elms[32]
|
|
755
|
+
|
|
756
|
+
if(!elms[33]) {
|
|
757
|
+
elms[33] = this.element({parent: parent || 'root'}, component)
|
|
758
|
+
}
|
|
759
|
+
const elementConfig33 = {}
|
|
760
|
+
|
|
761
|
+
elementConfig33['image'] = component.image
|
|
762
|
+
elementConfig33['w'] = 53
|
|
763
|
+
elementConfig33['h'] = 25
|
|
764
|
+
elementConfig33['map'] = component.sprite
|
|
765
|
+
elementConfig33['frame'] = "max"
|
|
766
|
+
|
|
767
|
+
if(typeof cmp33 !== 'undefined') {
|
|
768
|
+
for(let key in cmp33.config.props) {
|
|
769
|
+
delete elementConfig33[cmp33.config.props[key]]
|
|
770
|
+
}
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
|
|
774
|
+
if(!elms[33].nodeId) {
|
|
775
|
+
elms[33].populate(elementConfig33)
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
parent = elms[33]
|
|
779
|
+
const props34 = {}
|
|
780
|
+
props34['image'] = component.image
|
|
781
|
+
props34['w'] = 53
|
|
782
|
+
props34['h'] = 25
|
|
783
|
+
props34['map'] = component.sprite
|
|
784
|
+
props34['frame'] = "max"
|
|
785
|
+
|
|
786
|
+
if(!elms[34]) {
|
|
787
|
+
const componentType = props34['is'] || 'Sprite'
|
|
788
|
+
|
|
789
|
+
elms[34] = (context.components && context.components[componentType] || component[Symbol.for('components')][componentType] || (() => { console.error('component Sprite not found')})).call(null, {props: props34}, elms[33], component)
|
|
790
|
+
if (elms[34][Symbol.for('slots')][0]) {
|
|
791
|
+
parent = elms[34][Symbol.for('slots')][0]
|
|
792
|
+
component = elms[34]
|
|
793
|
+
} else {
|
|
794
|
+
parent = elms[34][Symbol.for('children')][0]
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
parent = elms[32]
|
|
799
|
+
|
|
800
|
+
if(!elms[35]) {
|
|
801
|
+
elms[35] = this.element({parent: parent || 'root'}, component)
|
|
802
|
+
}
|
|
803
|
+
const elementConfig35 = {}
|
|
804
|
+
|
|
805
|
+
elementConfig35['x'] = 63
|
|
806
|
+
elementConfig35['y'] = 2
|
|
807
|
+
|
|
808
|
+
if(!elms[35].nodeId) {
|
|
809
|
+
elms[35].populate(elementConfig35)
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
const cmp36 =
|
|
814
|
+
(context.components && context.components['Sprite']) ||
|
|
815
|
+
component[Symbol.for('components')]['Sprite']
|
|
816
|
+
|
|
817
|
+
parent = elms[35]
|
|
818
|
+
|
|
819
|
+
if(!elms[36]) {
|
|
820
|
+
elms[36] = this.element({parent: parent || 'root'}, component)
|
|
821
|
+
}
|
|
822
|
+
const elementConfig36 = {}
|
|
823
|
+
|
|
824
|
+
elementConfig36['image'] = component.image
|
|
825
|
+
elementConfig36['x'] = 0
|
|
826
|
+
elementConfig36['h'] = 20
|
|
827
|
+
elementConfig36['w'] = 20
|
|
828
|
+
elementConfig36['map'] = component.sprite
|
|
829
|
+
|
|
830
|
+
if(typeof cmp36 !== 'undefined') {
|
|
831
|
+
for(let key in cmp36.config.props) {
|
|
832
|
+
delete elementConfig36[cmp36.config.props[key]]
|
|
833
|
+
}
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
|
|
837
|
+
if(!elms[36].nodeId) {
|
|
838
|
+
elms[36].populate(elementConfig36)
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
parent = elms[36]
|
|
842
|
+
const props37 = {}
|
|
843
|
+
props37['image'] = component.image
|
|
844
|
+
props37['x'] = 0
|
|
845
|
+
props37['h'] = 20
|
|
846
|
+
props37['w'] = 20
|
|
847
|
+
props37['map'] = component.sprite
|
|
848
|
+
props37['frame'] = component.maxFps[0]
|
|
849
|
+
|
|
850
|
+
if(!elms[37]) {
|
|
851
|
+
const componentType = props37['is'] || 'Sprite'
|
|
852
|
+
|
|
853
|
+
elms[37] = (context.components && context.components[componentType] || component[Symbol.for('components')][componentType] || (() => { console.error('component Sprite not found')})).call(null, {props: props37}, elms[36], component)
|
|
854
|
+
if (elms[37][Symbol.for('slots')][0]) {
|
|
855
|
+
parent = elms[37][Symbol.for('slots')][0]
|
|
856
|
+
component = elms[37]
|
|
857
|
+
} else {
|
|
858
|
+
parent = elms[37][Symbol.for('children')][0]
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
|
|
863
|
+
const cmp38 =
|
|
864
|
+
(context.components && context.components['Sprite']) ||
|
|
865
|
+
component[Symbol.for('components')]['Sprite']
|
|
866
|
+
|
|
867
|
+
parent = elms[35]
|
|
868
|
+
|
|
869
|
+
if(!elms[38]) {
|
|
870
|
+
elms[38] = this.element({parent: parent || 'root'}, component)
|
|
871
|
+
}
|
|
872
|
+
const elementConfig38 = {}
|
|
873
|
+
|
|
874
|
+
elementConfig38['image'] = component.image
|
|
875
|
+
elementConfig38['x'] = 18
|
|
876
|
+
elementConfig38['h'] = 20
|
|
877
|
+
elementConfig38['w'] = 20
|
|
878
|
+
elementConfig38['map'] = component.sprite
|
|
879
|
+
|
|
880
|
+
if(typeof cmp38 !== 'undefined') {
|
|
881
|
+
for(let key in cmp38.config.props) {
|
|
882
|
+
delete elementConfig38[cmp38.config.props[key]]
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
|
|
887
|
+
if(!elms[38].nodeId) {
|
|
888
|
+
elms[38].populate(elementConfig38)
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
parent = elms[38]
|
|
892
|
+
const props39 = {}
|
|
893
|
+
props39['image'] = component.image
|
|
894
|
+
props39['x'] = 18
|
|
895
|
+
props39['h'] = 20
|
|
896
|
+
props39['w'] = 20
|
|
897
|
+
props39['map'] = component.sprite
|
|
898
|
+
props39['frame'] = component.maxFps[1]
|
|
899
|
+
|
|
900
|
+
if(!elms[39]) {
|
|
901
|
+
const componentType = props39['is'] || 'Sprite'
|
|
902
|
+
|
|
903
|
+
elms[39] = (context.components && context.components[componentType] || component[Symbol.for('components')][componentType] || (() => { console.error('component Sprite not found')})).call(null, {props: props39}, elms[38], component)
|
|
904
|
+
if (elms[39][Symbol.for('slots')][0]) {
|
|
905
|
+
parent = elms[39][Symbol.for('slots')][0]
|
|
906
|
+
component = elms[39]
|
|
907
|
+
} else {
|
|
908
|
+
parent = elms[39][Symbol.for('children')][0]
|
|
909
|
+
}
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
|
|
913
|
+
const cmp40 =
|
|
914
|
+
(context.components && context.components['Sprite']) ||
|
|
915
|
+
component[Symbol.for('components')]['Sprite']
|
|
916
|
+
|
|
917
|
+
parent = elms[35]
|
|
918
|
+
|
|
919
|
+
if(!elms[40]) {
|
|
920
|
+
elms[40] = this.element({parent: parent || 'root'}, component)
|
|
921
|
+
}
|
|
922
|
+
const elementConfig40 = {}
|
|
923
|
+
|
|
924
|
+
elementConfig40['image'] = component.image
|
|
925
|
+
elementConfig40['x'] = 36
|
|
926
|
+
elementConfig40['h'] = 20
|
|
927
|
+
elementConfig40['w'] = 20
|
|
928
|
+
elementConfig40['map'] = component.sprite
|
|
929
|
+
|
|
930
|
+
if(typeof cmp40 !== 'undefined') {
|
|
931
|
+
for(let key in cmp40.config.props) {
|
|
932
|
+
delete elementConfig40[cmp40.config.props[key]]
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
|
|
937
|
+
if(!elms[40].nodeId) {
|
|
938
|
+
elms[40].populate(elementConfig40)
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
parent = elms[40]
|
|
942
|
+
const props41 = {}
|
|
943
|
+
props41['image'] = component.image
|
|
944
|
+
props41['x'] = 36
|
|
945
|
+
props41['h'] = 20
|
|
946
|
+
props41['w'] = 20
|
|
947
|
+
props41['map'] = component.sprite
|
|
948
|
+
props41['frame'] = component.maxFps[2]
|
|
949
|
+
|
|
950
|
+
if(!elms[41]) {
|
|
951
|
+
const componentType = props41['is'] || 'Sprite'
|
|
952
|
+
|
|
953
|
+
elms[41] = (context.components && context.components[componentType] || component[Symbol.for('components')][componentType] || (() => { console.error('component Sprite not found')})).call(null, {props: props41}, elms[40], component)
|
|
954
|
+
if (elms[41][Symbol.for('slots')][0]) {
|
|
955
|
+
parent = elms[41][Symbol.for('slots')][0]
|
|
956
|
+
component = elms[41]
|
|
957
|
+
} else {
|
|
958
|
+
parent = elms[41][Symbol.for('children')][0]
|
|
959
|
+
}
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
return elms
|
|
963
|
+
}, effects: [function anonymous(component,elms,context
|
|
964
|
+
) {
|
|
965
|
+
elms[6].set('frame', component.fps[0])
|
|
966
|
+
},function anonymous(component,elms,context
|
|
967
|
+
) {
|
|
968
|
+
|
|
969
|
+
elms[7][Symbol.for('props')]['frame'] = component.fps[0]
|
|
970
|
+
},function anonymous(component,elms,context
|
|
971
|
+
) {
|
|
972
|
+
elms[8].set('frame', component.fps[1])
|
|
973
|
+
},function anonymous(component,elms,context
|
|
974
|
+
) {
|
|
975
|
+
|
|
976
|
+
elms[9][Symbol.for('props')]['frame'] = component.fps[1]
|
|
977
|
+
},function anonymous(component,elms,context
|
|
978
|
+
) {
|
|
979
|
+
elms[10].set('frame', component.fps[2])
|
|
980
|
+
},function anonymous(component,elms,context
|
|
981
|
+
) {
|
|
982
|
+
|
|
983
|
+
elms[11][Symbol.for('props')]['frame'] = component.fps[2]
|
|
984
|
+
},function anonymous(component,elms,context
|
|
985
|
+
) {
|
|
986
|
+
elms[16].set('frame', component.avgFps[0])
|
|
987
|
+
},function anonymous(component,elms,context
|
|
988
|
+
) {
|
|
989
|
+
|
|
990
|
+
elms[17][Symbol.for('props')]['frame'] = component.avgFps[0]
|
|
991
|
+
},function anonymous(component,elms,context
|
|
992
|
+
) {
|
|
993
|
+
elms[18].set('frame', component.avgFps[1])
|
|
994
|
+
},function anonymous(component,elms,context
|
|
995
|
+
) {
|
|
996
|
+
|
|
997
|
+
elms[19][Symbol.for('props')]['frame'] = component.avgFps[1]
|
|
998
|
+
},function anonymous(component,elms,context
|
|
999
|
+
) {
|
|
1000
|
+
elms[20].set('frame', component.avgFps[2])
|
|
1001
|
+
},function anonymous(component,elms,context
|
|
1002
|
+
) {
|
|
1003
|
+
|
|
1004
|
+
elms[21][Symbol.for('props')]['frame'] = component.avgFps[2]
|
|
1005
|
+
},function anonymous(component,elms,context
|
|
1006
|
+
) {
|
|
1007
|
+
elms[26].set('frame', component.minFps[0])
|
|
1008
|
+
},function anonymous(component,elms,context
|
|
1009
|
+
) {
|
|
1010
|
+
|
|
1011
|
+
elms[27][Symbol.for('props')]['frame'] = component.minFps[0]
|
|
1012
|
+
},function anonymous(component,elms,context
|
|
1013
|
+
) {
|
|
1014
|
+
elms[28].set('frame', component.minFps[1])
|
|
1015
|
+
},function anonymous(component,elms,context
|
|
1016
|
+
) {
|
|
1017
|
+
|
|
1018
|
+
elms[29][Symbol.for('props')]['frame'] = component.minFps[1]
|
|
1019
|
+
},function anonymous(component,elms,context
|
|
1020
|
+
) {
|
|
1021
|
+
elms[30].set('frame', component.minFps[2])
|
|
1022
|
+
},function anonymous(component,elms,context
|
|
1023
|
+
) {
|
|
1024
|
+
|
|
1025
|
+
elms[31][Symbol.for('props')]['frame'] = component.minFps[2]
|
|
1026
|
+
},function anonymous(component,elms,context
|
|
1027
|
+
) {
|
|
1028
|
+
elms[36].set('frame', component.maxFps[0])
|
|
1029
|
+
},function anonymous(component,elms,context
|
|
1030
|
+
) {
|
|
1031
|
+
|
|
1032
|
+
elms[37][Symbol.for('props')]['frame'] = component.maxFps[0]
|
|
1033
|
+
},function anonymous(component,elms,context
|
|
1034
|
+
) {
|
|
1035
|
+
elms[38].set('frame', component.maxFps[1])
|
|
1036
|
+
},function anonymous(component,elms,context
|
|
1037
|
+
) {
|
|
1038
|
+
|
|
1039
|
+
elms[39][Symbol.for('props')]['frame'] = component.maxFps[1]
|
|
1040
|
+
},function anonymous(component,elms,context
|
|
1041
|
+
) {
|
|
1042
|
+
elms[40].set('frame', component.maxFps[2])
|
|
1043
|
+
},function anonymous(component,elms,context
|
|
1044
|
+
) {
|
|
1045
|
+
|
|
1046
|
+
elms[41][Symbol.for('props')]['frame'] = component.maxFps[2]
|
|
1047
|
+
}], context: {}},
|
|
65
1048
|
state() {
|
|
66
1049
|
return {
|
|
67
1050
|
image: fps_sprite,
|