Add hitboxes

This commit is contained in:
2024-01-28 11:00:32 +01:00
parent 0a4c1fd154
commit a61768e912
15 changed files with 494 additions and 200 deletions

View File

@@ -227,6 +227,29 @@
"tileid":28
}],
"id":27,
"objectgroup":
{
"draworder":"index",
"id":2,
"name":"",
"objects":[
{
"height":12,
"id":1,
"name":"hitbox",
"rotation":0,
"type":"",
"visible":true,
"width":8,
"x":4,
"y":2
}],
"opacity":1,
"type":"objectgroup",
"visible":true,
"x":0,
"y":0
},
"properties":[
{
"name":"animation",
@@ -997,6 +1020,29 @@
"tileid":540
}],
"id":539,
"objectgroup":
{
"draworder":"index",
"id":2,
"name":"",
"objects":[
{
"height":14,
"id":1,
"name":"hitbox",
"rotation":0,
"type":"",
"visible":true,
"width":8,
"x":4,
"y":0
}],
"opacity":1,
"type":"objectgroup",
"visible":true,
"x":0,
"y":0
},
"properties":[
{
"name":"animation",
@@ -1639,6 +1685,29 @@
"tileid":1052
}],
"id":1051,
"objectgroup":
{
"draworder":"index",
"id":2,
"name":"",
"objects":[
{
"height":14,
"id":1,
"name":"hitbox",
"rotation":0,
"type":"",
"visible":true,
"width":8,
"x":4,
"y":0
}],
"opacity":1,
"type":"objectgroup",
"visible":true,
"x":0,
"y":0
},
"properties":[
{
"name":"animation",
@@ -2353,6 +2422,29 @@
"tileid":1564
}],
"id":1563,
"objectgroup":
{
"draworder":"index",
"id":2,
"name":"",
"objects":[
{
"height":14,
"id":1,
"name":"hitbox",
"rotation":0,
"type":"",
"visible":true,
"width":8,
"x":4,
"y":0
}],
"opacity":1,
"type":"objectgroup",
"visible":true,
"x":0,
"y":0
},
"properties":[
{
"name":"animation",
@@ -5053,6 +5145,29 @@
"tileid":2076
}],
"id":2075,
"objectgroup":
{
"draworder":"index",
"id":2,
"name":"",
"objects":[
{
"height":13,
"id":1,
"name":"hitbox",
"rotation":0,
"type":"",
"visible":true,
"width":8,
"x":4,
"y":1
}],
"opacity":1,
"type":"objectgroup",
"visible":true,
"x":0,
"y":0
},
"properties":[
{
"name":"animation",
@@ -6243,6 +6358,29 @@
"tileid":2588
}],
"id":2587,
"objectgroup":
{
"draworder":"index",
"id":2,
"name":"",
"objects":[
{
"height":11,
"id":1,
"name":"hitbox",
"rotation":0,
"type":"",
"visible":true,
"width":8,
"x":4,
"y":3
}],
"opacity":1,
"type":"objectgroup",
"visible":true,
"x":0,
"y":0
},
"properties":[
{
"name":"animation",
@@ -6845,16 +6983,15 @@
"name":"",
"objects":[
{
"ellipse":true,
"height":11,
"id":1,
"name":"",
"height":9,
"id":2,
"name":"hitbox",
"rotation":0,
"type":"",
"visible":true,
"width":10,
"x":3,
"y":3
"width":8,
"x":4,
"y":4
}],
"opacity":1,
"type":"objectgroup",
@@ -6871,6 +7008,29 @@
},
{
"id":5889,
"objectgroup":
{
"draworder":"index",
"id":2,
"name":"",
"objects":[
{
"height":7,
"id":1,
"name":"hitbox",
"rotation":0,
"type":"",
"visible":true,
"width":10,
"x":3,
"y":7
}],
"opacity":1,
"type":"objectgroup",
"visible":true,
"x":0,
"y":0
},
"properties":[
{
"name":"terrain",
@@ -6887,16 +7047,15 @@
"name":"",
"objects":[
{
"ellipse":true,
"height":8,
"id":1,
"name":"",
"height":10,
"id":2,
"name":"hitbox",
"rotation":0,
"type":"",
"visible":true,
"width":8,
"x":4,
"y":6
"width":4,
"x":6,
"y":4
}],
"opacity":1,
"type":"objectgroup",
@@ -6920,16 +7079,15 @@
"name":"",
"objects":[
{
"ellipse":true,
"height":8,
"id":1,
"name":"",
"height":10,
"id":2,
"name":"hitbox",
"rotation":0,
"type":"",
"visible":true,
"width":8,
"x":4,
"y":6
"width":4,
"x":6,
"y":4
}],
"opacity":1,
"type":"objectgroup",
@@ -7378,16 +7536,15 @@
"name":"",
"objects":[
{
"ellipse":true,
"height":8,
"id":1,
"name":"",
"height":10,
"id":2,
"name":"hitbox",
"rotation":0,
"type":"",
"visible":true,
"width":8,
"x":4,
"y":6
"width":4,
"x":6,
"y":4
}],
"opacity":1,
"type":"objectgroup",
@@ -7411,16 +7568,15 @@
"name":"",
"objects":[
{
"ellipse":true,
"height":8,
"id":1,
"name":"",
"height":10,
"id":2,
"name":"hitbox",
"rotation":0,
"type":"",
"visible":true,
"width":8,
"x":4,
"y":6
"width":4,
"x":6,
"y":4
}],
"opacity":1,
"type":"objectgroup",
@@ -7728,16 +7884,15 @@
"name":"",
"objects":[
{
"ellipse":true,
"height":8,
"id":1,
"name":"",
"height":10,
"id":2,
"name":"hitbox",
"rotation":0,
"type":"",
"visible":true,
"width":8,
"x":4,
"y":6
"width":4,
"x":6,
"y":4
}],
"opacity":1,
"type":"objectgroup",
@@ -7761,16 +7916,15 @@
"name":"",
"objects":[
{
"ellipse":true,
"height":8,
"id":1,
"name":"",
"height":10,
"id":2,
"name":"hitbox",
"rotation":0,
"type":"",
"visible":true,
"width":8,
"x":4,
"y":6
"width":4,
"x":6,
"y":4
}],
"opacity":1,
"type":"objectgroup",
@@ -8189,16 +8343,15 @@
"name":"",
"objects":[
{
"ellipse":true,
"height":8,
"id":1,
"name":"",
"height":10,
"id":2,
"name":"hitbox",
"rotation":0,
"type":"",
"visible":true,
"width":8,
"x":4,
"y":6
"width":4,
"x":6,
"y":4
}],
"opacity":1,
"type":"objectgroup",
@@ -8490,16 +8643,15 @@
"name":"",
"objects":[
{
"ellipse":true,
"height":8,
"id":1,
"name":"",
"height":10,
"id":2,
"name":"hitbox",
"rotation":0,
"type":"",
"visible":true,
"width":8,
"x":4,
"y":6
"width":4,
"x":6,
"y":4
}],
"opacity":1,
"type":"objectgroup",
@@ -8808,6 +8960,29 @@
},
{
"id":7170,
"objectgroup":
{
"draworder":"index",
"id":2,
"name":"",
"objects":[
{
"height":10,
"id":1,
"name":"hitbox",
"rotation":0,
"type":"",
"visible":true,
"width":10,
"x":3,
"y":3
}],
"opacity":1,
"type":"objectgroup",
"visible":true,
"x":0,
"y":0
},
"properties":[
{
"name":"terrain",
@@ -8818,6 +8993,29 @@
},
{
"id":7171,
"objectgroup":
{
"draworder":"index",
"id":2,
"name":"",
"objects":[
{
"height":9,
"id":1,
"name":"hitbox",
"rotation":0,
"type":"",
"visible":true,
"width":10,
"x":3,
"y":4
}],
"opacity":1,
"type":"objectgroup",
"visible":true,
"x":0,
"y":0
},
"properties":[
{
"name":"terrain",
@@ -8828,6 +9026,29 @@
},
{
"id":7172,
"objectgroup":
{
"draworder":"index",
"id":2,
"name":"",
"objects":[
{
"height":10,
"id":1,
"name":"hitbox",
"rotation":0,
"type":"",
"visible":true,
"width":14,
"x":1,
"y":3
}],
"opacity":1,
"type":"objectgroup",
"visible":true,
"x":0,
"y":0
},
"properties":[
{
"name":"terrain",