Skip to content

Commit 942c946

Browse files
committed
Few fixes in the tile set collision mask.
1 parent f496faa commit 942c946

File tree

1 file changed

+27
-13
lines changed

1 file changed

+27
-13
lines changed

examples/360°-platformer/assets/Hedgehog.tsj

Lines changed: 27 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"objectgroup":
2323
{
2424
"draworder":"index",
25+
"id":2,
2526
"name":"",
2627
"objects":[
2728
{
@@ -31,7 +32,7 @@
3132
"polygon":[
3233
{
3334
"x":0,
34-
"y":0
35+
"y":-1
3536
},
3637
{
3738
"x":-15,
@@ -69,6 +70,7 @@
6970
"objectgroup":
7071
{
7172
"draworder":"index",
73+
"id":2,
7274
"name":"",
7375
"objects":[
7476
{
@@ -327,6 +329,7 @@
327329
"objectgroup":
328330
{
329331
"draworder":"index",
332+
"id":2,
330333
"name":"",
331334
"objects":[
332335
{
@@ -339,7 +342,7 @@
339342
"y":0
340343
},
341344
{
342-
"x":-21,
345+
"x":-22,
343346
"y":22
344347
},
345348
{
@@ -374,6 +377,7 @@
374377
"objectgroup":
375378
{
376379
"draworder":"index",
380+
"id":2,
377381
"name":"",
378382
"objects":[
379383
{
@@ -382,7 +386,7 @@
382386
"name":"",
383387
"polygon":[
384388
{
385-
"x":0,
389+
"x":1,
386390
"y":0
387391
},
388392
{
@@ -593,6 +597,7 @@
593597
"objectgroup":
594598
{
595599
"draworder":"index",
600+
"id":2,
596601
"name":"",
597602
"objects":[
598603
{
@@ -602,7 +607,7 @@
602607
"polygon":[
603608
{
604609
"x":0,
605-
"y":0
610+
"y":-1
606611
},
607612
{
608613
"x":-6,
@@ -640,6 +645,7 @@
640645
"objectgroup":
641646
{
642647
"draworder":"index",
648+
"id":2,
643649
"name":"",
644650
"objects":[
645651
{
@@ -648,7 +654,7 @@
648654
"name":"",
649655
"polygon":[
650656
{
651-
"x":0,
657+
"x":-1,
652658
"y":0
653659
},
654660
{
@@ -1872,6 +1878,7 @@
18721878
"objectgroup":
18731879
{
18741880
"draworder":"index",
1881+
"id":2,
18751882
"name":"",
18761883
"objects":[
18771884
{
@@ -1885,7 +1892,7 @@
18851892
},
18861893
{
18871894
"x":15,
1888-
"y":-9
1895+
"y":-10
18891896
},
18901897
{
18911898
"x":15,
@@ -2396,6 +2403,7 @@
23962403
"objectgroup":
23972404
{
23982405
"draworder":"index",
2406+
"id":2,
23992407
"name":"",
24002408
"objects":[
24012409
{
@@ -2439,6 +2447,7 @@
24392447
"objectgroup":
24402448
{
24412449
"draworder":"index",
2450+
"id":2,
24422451
"name":"",
24432452
"objects":[
24442453
{
@@ -2448,10 +2457,10 @@
24482457
"polygon":[
24492458
{
24502459
"x":0,
2451-
"y":0
2460+
"y":1
24522461
},
24532462
{
2454-
"x":14,
2463+
"x":15,
24552464
"y":-9
24562465
},
24572466
{
@@ -2533,6 +2542,7 @@
25332542
"objectgroup":
25342543
{
25352544
"draworder":"index",
2545+
"id":2,
25362546
"name":"",
25372547
"objects":[
25382548
{
@@ -2546,7 +2556,7 @@
25462556
},
25472557
{
25482558
"x":8,
2549-
"y":15
2559+
"y":16
25502560
},
25512561
{
25522562
"x":8,
@@ -2580,6 +2590,7 @@
25802590
"objectgroup":
25812591
{
25822592
"draworder":"index",
2593+
"id":2,
25832594
"name":"",
25842595
"objects":[
25852596
{
@@ -2589,7 +2600,7 @@
25892600
"polygon":[
25902601
{
25912602
"x":0,
2592-
"y":0
2603+
"y":-1
25932604
},
25942605
{
25952606
"x":20,
@@ -2619,6 +2630,7 @@
26192630
"objectgroup":
26202631
{
26212632
"draworder":"index",
2633+
"id":2,
26222634
"name":"",
26232635
"objects":[
26242636
{
@@ -2627,7 +2639,7 @@
26272639
"name":"",
26282640
"polygon":[
26292641
{
2630-
"x":0,
2642+
"x":-1,
26312643
"y":0
26322644
},
26332645
{
@@ -2666,6 +2678,7 @@
26662678
"objectgroup":
26672679
{
26682680
"draworder":"index",
2681+
"id":2,
26692682
"name":"",
26702683
"objects":[
26712684
{
@@ -2678,7 +2691,7 @@
26782691
"y":0
26792692
},
26802693
{
2681-
"x":26,
2694+
"x":27,
26822695
"y":21
26832696
},
26842697
{
@@ -2823,6 +2836,7 @@
28232836
"objectgroup":
28242837
{
28252838
"draworder":"index",
2839+
"id":2,
28262840
"name":"",
28272841
"objects":[
28282842
{
@@ -2832,7 +2846,7 @@
28322846
"polygon":[
28332847
{
28342848
"x":0,
2835-
"y":0
2849+
"y":-1
28362850
},
28372851
{
28382852
"x":17,

0 commit comments

Comments
 (0)