Mercurial > molko
comparison examples/assets/maps/tileset-town.json @ 217:836bac1419c7
examples: improve map example
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 18 Nov 2020 10:13:29 +0100 |
parents | 64f24b482722 |
children |
comparison
equal
deleted
inserted
replaced
216:33ddbe30440e | 217:836bac1419c7 |
---|---|
16 "tilecount":256, | 16 "tilecount":256, |
17 "tiledversion":"2020.10.30", | 17 "tiledversion":"2020.10.30", |
18 "tileheight":64, | 18 "tileheight":64, |
19 "tiles":[ | 19 "tiles":[ |
20 { | 20 { |
21 "id":18, | |
22 "objectgroup": | |
23 { | |
24 "draworder":"index", | |
25 "name":"", | |
26 "objects":[ | |
27 { | |
28 "height":64, | |
29 "id":1, | |
30 "name":"", | |
31 "rotation":0, | |
32 "type":"", | |
33 "visible":true, | |
34 "width":64, | |
35 "x":0, | |
36 "y":0 | |
37 }], | |
38 "opacity":1, | |
39 "type":"objectgroup", | |
40 "visible":true, | |
41 "x":0, | |
42 "y":0 | |
43 } | |
44 }, | |
45 { | |
46 "id":20, | |
47 "objectgroup": | |
48 { | |
49 "draworder":"index", | |
50 "name":"", | |
51 "objects":[ | |
52 { | |
53 "height":64, | |
54 "id":1, | |
55 "name":"", | |
56 "rotation":0, | |
57 "type":"", | |
58 "visible":true, | |
59 "width":64, | |
60 "x":0, | |
61 "y":0 | |
62 }], | |
63 "opacity":1, | |
64 "type":"objectgroup", | |
65 "visible":true, | |
66 "x":0, | |
67 "y":0 | |
68 } | |
69 }, | |
70 { | |
71 "id":33, | |
72 "objectgroup": | |
73 { | |
74 "draworder":"index", | |
75 "name":"", | |
76 "objects":[ | |
77 { | |
78 "height":64, | |
79 "id":1, | |
80 "name":"", | |
81 "rotation":0, | |
82 "type":"", | |
83 "visible":true, | |
84 "width":64, | |
85 "x":0, | |
86 "y":0 | |
87 }], | |
88 "opacity":1, | |
89 "type":"objectgroup", | |
90 "visible":true, | |
91 "x":0, | |
92 "y":0 | |
93 } | |
94 }, | |
95 { | |
96 "id":37, | |
97 "objectgroup": | |
98 { | |
99 "draworder":"index", | |
100 "name":"", | |
101 "objects":[ | |
102 { | |
103 "height":64, | |
104 "id":1, | |
105 "name":"", | |
106 "rotation":0, | |
107 "type":"", | |
108 "visible":true, | |
109 "width":64, | |
110 "x":0, | |
111 "y":0 | |
112 }], | |
113 "opacity":1, | |
114 "type":"objectgroup", | |
115 "visible":true, | |
116 "x":0, | |
117 "y":0 | |
118 } | |
119 }, | |
120 { | |
121 "id":49, | |
122 "objectgroup": | |
123 { | |
124 "draworder":"index", | |
125 "name":"", | |
126 "objects":[ | |
127 { | |
128 "height":64, | |
129 "id":1, | |
130 "name":"", | |
131 "rotation":0, | |
132 "type":"", | |
133 "visible":true, | |
134 "width":64, | |
135 "x":0, | |
136 "y":0 | |
137 }], | |
138 "opacity":1, | |
139 "type":"objectgroup", | |
140 "visible":true, | |
141 "x":0, | |
142 "y":0 | |
143 } | |
144 }, | |
145 { | |
146 "id":53, | |
147 "objectgroup": | |
148 { | |
149 "draworder":"index", | |
150 "name":"", | |
151 "objects":[ | |
152 { | |
153 "height":64, | |
154 "id":1, | |
155 "name":"", | |
156 "rotation":0, | |
157 "type":"", | |
158 "visible":true, | |
159 "width":64, | |
160 "x":0, | |
161 "y":0 | |
162 }], | |
163 "opacity":1, | |
164 "type":"objectgroup", | |
165 "visible":true, | |
166 "x":0, | |
167 "y":0 | |
168 } | |
169 }, | |
170 { | |
171 "id":65, | |
172 "objectgroup": | |
173 { | |
174 "draworder":"index", | |
175 "name":"", | |
176 "objects":[ | |
177 { | |
178 "height":64, | |
179 "id":1, | |
180 "name":"", | |
181 "rotation":0, | |
182 "type":"", | |
183 "visible":true, | |
184 "width":64, | |
185 "x":0, | |
186 "y":0 | |
187 }], | |
188 "opacity":1, | |
189 "type":"objectgroup", | |
190 "visible":true, | |
191 "x":0, | |
192 "y":0 | |
193 } | |
194 }, | |
195 { | |
196 "id":69, | |
197 "objectgroup": | |
198 { | |
199 "draworder":"index", | |
200 "name":"", | |
201 "objects":[ | |
202 { | |
203 "height":64, | |
204 "id":1, | |
205 "name":"", | |
206 "rotation":0, | |
207 "type":"", | |
208 "visible":true, | |
209 "width":64, | |
210 "x":0, | |
211 "y":0 | |
212 }], | |
213 "opacity":1, | |
214 "type":"objectgroup", | |
215 "visible":true, | |
216 "x":0, | |
217 "y":0 | |
218 } | |
219 }, | |
220 { | |
221 "id":81, | |
222 "objectgroup": | |
223 { | |
224 "draworder":"index", | |
225 "name":"", | |
226 "objects":[ | |
227 { | |
228 "height":64, | |
229 "id":1, | |
230 "name":"", | |
231 "rotation":0, | |
232 "type":"", | |
233 "visible":true, | |
234 "width":64, | |
235 "x":0, | |
236 "y":0 | |
237 }], | |
238 "opacity":1, | |
239 "type":"objectgroup", | |
240 "visible":true, | |
241 "x":0, | |
242 "y":0 | |
243 } | |
244 }, | |
245 { | |
246 "id":85, | |
247 "objectgroup": | |
248 { | |
249 "draworder":"index", | |
250 "name":"", | |
251 "objects":[ | |
252 { | |
253 "height":64, | |
254 "id":1, | |
255 "name":"", | |
256 "rotation":0, | |
257 "type":"", | |
258 "visible":true, | |
259 "width":64, | |
260 "x":0, | |
261 "y":0 | |
262 }], | |
263 "opacity":1, | |
264 "type":"objectgroup", | |
265 "visible":true, | |
266 "x":0, | |
267 "y":0 | |
268 } | |
269 }, | |
270 { | |
271 "id":97, | |
272 "objectgroup": | |
273 { | |
274 "draworder":"index", | |
275 "name":"", | |
276 "objects":[ | |
277 { | |
278 "height":64, | |
279 "id":1, | |
280 "name":"", | |
281 "rotation":0, | |
282 "type":"", | |
283 "visible":true, | |
284 "width":64, | |
285 "x":0, | |
286 "y":0 | |
287 }], | |
288 "opacity":1, | |
289 "type":"objectgroup", | |
290 "visible":true, | |
291 "x":0, | |
292 "y":0 | |
293 } | |
294 }, | |
295 { | |
296 "id":101, | |
297 "objectgroup": | |
298 { | |
299 "draworder":"index", | |
300 "name":"", | |
301 "objects":[ | |
302 { | |
303 "height":64, | |
304 "id":1, | |
305 "name":"", | |
306 "rotation":0, | |
307 "type":"", | |
308 "visible":true, | |
309 "width":64, | |
310 "x":0, | |
311 "y":0 | |
312 }], | |
313 "opacity":1, | |
314 "type":"objectgroup", | |
315 "visible":true, | |
316 "x":0, | |
317 "y":0 | |
318 } | |
319 }, | |
320 { | |
321 "id":113, | |
322 "objectgroup": | |
323 { | |
324 "draworder":"index", | |
325 "name":"", | |
326 "objects":[ | |
327 { | |
328 "height":64, | |
329 "id":1, | |
330 "name":"", | |
331 "rotation":0, | |
332 "type":"", | |
333 "visible":true, | |
334 "width":60, | |
335 "x":4, | |
336 "y":0 | |
337 }], | |
338 "opacity":1, | |
339 "type":"objectgroup", | |
340 "visible":true, | |
341 "x":0, | |
342 "y":0 | |
343 } | |
344 }, | |
345 { | |
346 "id":117, | |
347 "objectgroup": | |
348 { | |
349 "draworder":"index", | |
350 "name":"", | |
351 "objects":[ | |
352 { | |
353 "height":64, | |
354 "id":1, | |
355 "name":"", | |
356 "rotation":0, | |
357 "type":"", | |
358 "visible":true, | |
359 "width":60, | |
360 "x":0, | |
361 "y":0 | |
362 }], | |
363 "opacity":1, | |
364 "type":"objectgroup", | |
365 "visible":true, | |
366 "x":0, | |
367 "y":0 | |
368 } | |
369 }, | |
370 { | |
371 "id":120, | |
372 "objectgroup": | |
373 { | |
374 "draworder":"index", | |
375 "id":2, | |
376 "name":"", | |
377 "objects":[ | |
378 { | |
379 "height":64, | |
380 "id":1, | |
381 "name":"", | |
382 "rotation":0, | |
383 "type":"", | |
384 "visible":true, | |
385 "width":62, | |
386 "x":2, | |
387 "y":0 | |
388 }], | |
389 "opacity":1, | |
390 "type":"objectgroup", | |
391 "visible":true, | |
392 "x":0, | |
393 "y":0 | |
394 } | |
395 }, | |
396 { | |
397 "id":121, | |
398 "objectgroup": | |
399 { | |
400 "draworder":"index", | |
401 "id":2, | |
402 "name":"", | |
403 "objects":[ | |
404 { | |
405 "height":64, | |
406 "id":1, | |
407 "name":"", | |
408 "rotation":0, | |
409 "type":"", | |
410 "visible":true, | |
411 "width":62, | |
412 "x":0, | |
413 "y":0 | |
414 }], | |
415 "opacity":1, | |
416 "type":"objectgroup", | |
417 "visible":true, | |
418 "x":0, | |
419 "y":0 | |
420 } | |
421 }, | |
422 { | |
21 "id":129, | 423 "id":129, |
22 "objectgroup": | 424 "objectgroup": |
23 { | 425 { |
24 "draworder":"index", | 426 "draworder":"index", |
25 "name":"", | 427 "name":"", |
29 "id":9, | 431 "id":9, |
30 "name":"", | 432 "name":"", |
31 "rotation":0, | 433 "rotation":0, |
32 "type":"", | 434 "type":"", |
33 "visible":true, | 435 "visible":true, |
436 "width":60, | |
437 "x":4, | |
438 "y":0 | |
439 }], | |
440 "opacity":1, | |
441 "type":"objectgroup", | |
442 "visible":true, | |
443 "x":0, | |
444 "y":0 | |
445 } | |
446 }, | |
447 { | |
448 "id":130, | |
449 "objectgroup": | |
450 { | |
451 "draworder":"index", | |
452 "name":"", | |
453 "objects":[ | |
454 { | |
455 "height":40, | |
456 "id":1, | |
457 "name":"", | |
458 "rotation":0, | |
459 "type":"", | |
460 "visible":true, | |
461 "width":62, | |
462 "x":0, | |
463 "y":0 | |
464 }], | |
465 "opacity":1, | |
466 "type":"objectgroup", | |
467 "visible":true, | |
468 "x":0, | |
469 "y":0 | |
470 } | |
471 }, | |
472 { | |
473 "id":132, | |
474 "objectgroup": | |
475 { | |
476 "draworder":"index", | |
477 "name":"", | |
478 "objects":[ | |
479 { | |
480 "height":40, | |
481 "id":1, | |
482 "name":"", | |
483 "rotation":0, | |
484 "type":"", | |
485 "visible":true, | |
486 "width":64, | |
487 "x":0, | |
488 "y":0 | |
489 }], | |
490 "opacity":1, | |
491 "type":"objectgroup", | |
492 "visible":true, | |
493 "x":0, | |
494 "y":0 | |
495 } | |
496 }, | |
497 { | |
498 "id":133, | |
499 "objectgroup": | |
500 { | |
501 "draworder":"index", | |
502 "name":"", | |
503 "objects":[ | |
504 { | |
505 "height":40, | |
506 "id":1, | |
507 "name":"", | |
508 "rotation":0, | |
509 "type":"", | |
510 "visible":true, | |
511 "width":58, | |
512 "x":0, | |
513 "y":0 | |
514 }], | |
515 "opacity":1, | |
516 "type":"objectgroup", | |
517 "visible":true, | |
518 "x":0, | |
519 "y":0 | |
520 } | |
521 }, | |
522 { | |
523 "id":136, | |
524 "objectgroup": | |
525 { | |
526 "draworder":"index", | |
527 "id":2, | |
528 "name":"", | |
529 "objects":[ | |
530 { | |
531 "height":60, | |
532 "id":1, | |
533 "name":"", | |
534 "rotation":0, | |
535 "type":"", | |
536 "visible":true, | |
537 "width":60, | |
538 "x":4, | |
539 "y":0 | |
540 }], | |
541 "opacity":1, | |
542 "type":"objectgroup", | |
543 "visible":true, | |
544 "x":0, | |
545 "y":0 | |
546 } | |
547 }, | |
548 { | |
549 "id":137, | |
550 "objectgroup": | |
551 { | |
552 "draworder":"index", | |
553 "id":2, | |
554 "name":"", | |
555 "objects":[ | |
556 { | |
557 "height":60, | |
558 "id":1, | |
559 "name":"", | |
560 "rotation":0, | |
561 "type":"", | |
562 "visible":true, | |
563 "width":60, | |
564 "x":0, | |
565 "y":0 | |
566 }], | |
567 "opacity":1, | |
568 "type":"objectgroup", | |
569 "visible":true, | |
570 "x":0, | |
571 "y":0 | |
572 } | |
573 }, | |
574 { | |
575 "id":151, | |
576 "objectgroup": | |
577 { | |
578 "draworder":"index", | |
579 "id":2, | |
580 "name":"", | |
581 "objects":[ | |
582 { | |
583 "height":64, | |
584 "id":1, | |
585 "name":"", | |
586 "rotation":0, | |
587 "type":"", | |
588 "visible":true, | |
589 "width":16, | |
590 "x":24, | |
591 "y":0 | |
592 }], | |
593 "opacity":1, | |
594 "type":"objectgroup", | |
595 "visible":true, | |
596 "x":0, | |
597 "y":0 | |
598 } | |
599 }, | |
600 { | |
601 "id":167, | |
602 "objectgroup": | |
603 { | |
604 "draworder":"index", | |
605 "id":2, | |
606 "name":"", | |
607 "objects":[ | |
608 { | |
609 "height":56, | |
610 "id":1, | |
611 "name":"", | |
612 "rotation":0, | |
613 "type":"", | |
614 "visible":true, | |
615 "width":16, | |
616 "x":24, | |
617 "y":0 | |
618 }], | |
619 "opacity":1, | |
620 "type":"objectgroup", | |
621 "visible":true, | |
622 "x":0, | |
623 "y":0 | |
624 } | |
625 }, | |
626 { | |
627 "id":219, | |
628 "objectgroup": | |
629 { | |
630 "draworder":"index", | |
631 "name":"", | |
632 "objects":[ | |
633 { | |
634 "height":64, | |
635 "id":1, | |
636 "name":"", | |
637 "rotation":0, | |
638 "type":"", | |
639 "visible":true, | |
640 "width":42, | |
641 "x":10, | |
642 "y":0 | |
643 }], | |
644 "opacity":1, | |
645 "type":"objectgroup", | |
646 "visible":true, | |
647 "x":0, | |
648 "y":0 | |
649 } | |
650 }, | |
651 { | |
652 "id":220, | |
653 "objectgroup": | |
654 { | |
655 "draworder":"index", | |
656 "name":"", | |
657 "objects":[ | |
658 { | |
659 "height":64, | |
660 "id":1, | |
661 "name":"", | |
662 "rotation":0, | |
663 "type":"", | |
664 "visible":true, | |
34 "width":56, | 665 "width":56, |
35 "x":8, | 666 "x":4, |
36 "y":0 | 667 "y":0 |
37 }], | 668 }], |
38 "opacity":1, | 669 "opacity":1, |
39 "type":"objectgroup", | 670 "type":"objectgroup", |
40 "visible":true, | 671 "visible":true, |
41 "x":0, | 672 "x":0, |
42 "y":0 | 673 "y":0 |
43 } | 674 } |
44 }, | 675 }, |
45 { | 676 { |
46 "id":130, | 677 "id":221, |
47 "objectgroup": | 678 "objectgroup": |
48 { | 679 { |
49 "draworder":"index", | 680 "draworder":"index", |
50 "name":"", | 681 "name":"", |
51 "objects":[ | 682 "objects":[ |
52 { | 683 { |
53 "height":40, | 684 "height":64, |
54 "id":1, | 685 "id":1, |
55 "name":"", | 686 "name":"", |
56 "rotation":0, | 687 "rotation":0, |
57 "type":"", | 688 "type":"", |
58 "visible":true, | 689 "visible":true, |
59 "width":62, | 690 "width":60, |
60 "x":0, | 691 "x":4, |
61 "y":0 | 692 "y":0 |
62 }], | 693 }], |
63 "opacity":1, | 694 "opacity":1, |
64 "type":"objectgroup", | 695 "type":"objectgroup", |
65 "visible":true, | 696 "visible":true, |
66 "x":0, | 697 "x":0, |
67 "y":0 | 698 "y":0 |
68 } | 699 } |
69 }, | 700 }, |
70 { | 701 { |
71 "id":132, | 702 "id":222, |
72 "objectgroup": | 703 "objectgroup": |
73 { | 704 { |
74 "draworder":"index", | 705 "draworder":"index", |
75 "name":"", | 706 "name":"", |
76 "objects":[ | 707 "objects":[ |
77 { | 708 { |
78 "height":40, | 709 "height":64, |
79 "id":1, | 710 "id":1, |
80 "name":"", | 711 "name":"", |
81 "rotation":0, | 712 "rotation":0, |
82 "type":"", | 713 "type":"", |
83 "visible":true, | 714 "visible":true, |
84 "width":64, | 715 "width":60, |
85 "x":0, | 716 "x":0, |
86 "y":0 | 717 "y":0 |
87 }], | 718 }], |
88 "opacity":1, | 719 "opacity":1, |
89 "type":"objectgroup", | 720 "type":"objectgroup", |
90 "visible":true, | 721 "visible":true, |
91 "x":0, | 722 "x":0, |
92 "y":0 | 723 "y":0 |
93 } | 724 } |
94 }, | 725 }, |
95 { | 726 { |
96 "id":133, | 727 "id":223, |
97 "objectgroup": | 728 "objectgroup": |
98 { | 729 { |
99 "draworder":"index", | 730 "draworder":"index", |
100 "name":"", | 731 "name":"", |
101 "objects":[ | 732 "objects":[ |
102 { | 733 { |
103 "height":40, | 734 "height":64, |
104 "id":1, | 735 "id":1, |
105 "name":"", | 736 "name":"", |
106 "rotation":0, | 737 "rotation":0, |
107 "type":"", | 738 "type":"", |
108 "visible":true, | 739 "visible":true, |
109 "width":58, | 740 "width":60, |
741 "x":4, | |
742 "y":0 | |
743 }], | |
744 "opacity":1, | |
745 "type":"objectgroup", | |
746 "visible":true, | |
747 "x":0, | |
748 "y":0 | |
749 } | |
750 }, | |
751 { | |
752 "id":235, | |
753 "objectgroup": | |
754 { | |
755 "draworder":"index", | |
756 "name":"", | |
757 "objects":[ | |
758 { | |
759 "height":10, | |
760 "id":1, | |
761 "name":"", | |
762 "rotation":0, | |
763 "type":"", | |
764 "visible":true, | |
765 "width":64, | |
766 "x":0, | |
767 "y":54 | |
768 }], | |
769 "opacity":1, | |
770 "type":"objectgroup", | |
771 "visible":true, | |
772 "x":0, | |
773 "y":0 | |
774 } | |
775 }, | |
776 { | |
777 "id":238, | |
778 "objectgroup": | |
779 { | |
780 "draworder":"index", | |
781 "id":2, | |
782 "name":"", | |
783 "objects":[ | |
784 { | |
785 "height":64, | |
786 "id":1, | |
787 "name":"", | |
788 "rotation":0, | |
789 "type":"", | |
790 "visible":true, | |
791 "width":42, | |
792 "x":10, | |
793 "y":0 | |
794 }], | |
795 "opacity":1, | |
796 "type":"objectgroup", | |
797 "visible":true, | |
798 "x":0, | |
799 "y":0 | |
800 } | |
801 }, | |
802 { | |
803 "id":251, | |
804 "objectgroup": | |
805 { | |
806 "draworder":"index", | |
807 "name":"", | |
808 "objects":[ | |
809 { | |
810 "height":32, | |
811 "id":1, | |
812 "name":"", | |
813 "rotation":0, | |
814 "type":"", | |
815 "visible":true, | |
816 "width":64, | |
817 "x":0, | |
818 "y":0 | |
819 }], | |
820 "opacity":1, | |
821 "type":"objectgroup", | |
822 "visible":true, | |
823 "x":0, | |
824 "y":0 | |
825 } | |
826 }, | |
827 { | |
828 "id":252, | |
829 "objectgroup": | |
830 { | |
831 "draworder":"index", | |
832 "name":"", | |
833 "objects":[ | |
834 { | |
835 "height":32, | |
836 "id":1, | |
837 "name":"", | |
838 "rotation":0, | |
839 "type":"", | |
840 "visible":true, | |
841 "width":56, | |
842 "x":4, | |
843 "y":0 | |
844 }], | |
845 "opacity":1, | |
846 "type":"objectgroup", | |
847 "visible":true, | |
848 "x":0, | |
849 "y":0 | |
850 } | |
851 }, | |
852 { | |
853 "id":253, | |
854 "objectgroup": | |
855 { | |
856 "draworder":"index", | |
857 "name":"", | |
858 "objects":[ | |
859 { | |
860 "height":32, | |
861 "id":1, | |
862 "name":"", | |
863 "rotation":0, | |
864 "type":"", | |
865 "visible":true, | |
866 "width":60, | |
867 "x":4, | |
868 "y":0 | |
869 }], | |
870 "opacity":1, | |
871 "type":"objectgroup", | |
872 "visible":true, | |
873 "x":0, | |
874 "y":0 | |
875 } | |
876 }, | |
877 { | |
878 "id":254, | |
879 "objectgroup": | |
880 { | |
881 "draworder":"index", | |
882 "name":"", | |
883 "objects":[ | |
884 { | |
885 "height":32, | |
886 "id":1, | |
887 "name":"", | |
888 "rotation":0, | |
889 "type":"", | |
890 "visible":true, | |
891 "width":60, | |
892 "x":0, | |
893 "y":0 | |
894 }], | |
895 "opacity":1, | |
896 "type":"objectgroup", | |
897 "visible":true, | |
898 "x":0, | |
899 "y":0 | |
900 } | |
901 }, | |
902 { | |
903 "id":255, | |
904 "objectgroup": | |
905 { | |
906 "draworder":"index", | |
907 "name":"", | |
908 "objects":[ | |
909 { | |
910 "height":32, | |
911 "id":1, | |
912 "name":"", | |
913 "rotation":0, | |
914 "type":"", | |
915 "visible":true, | |
916 "width":60, | |
110 "x":0, | 917 "x":0, |
111 "y":0 | 918 "y":0 |
112 }], | 919 }], |
113 "opacity":1, | 920 "opacity":1, |
114 "type":"objectgroup", | 921 "type":"objectgroup", |