Failed attempt to build collision detection
This commit is contained in:
@@ -47,8 +47,30 @@
|
||||
"type":"player",
|
||||
"visible":true,
|
||||
"width":16,
|
||||
"x":16,
|
||||
"y":32
|
||||
"x":0,
|
||||
"y":0
|
||||
}],
|
||||
"opacity":1,
|
||||
"type":"objectgroup",
|
||||
"visible":true,
|
||||
"x":0,
|
||||
"y":0
|
||||
},
|
||||
{
|
||||
"draworder":"topdown",
|
||||
"id":6,
|
||||
"name":"colliders",
|
||||
"objects":[
|
||||
{
|
||||
"height":60.5,
|
||||
"id":7,
|
||||
"name":"",
|
||||
"rotation":0,
|
||||
"type":"collider",
|
||||
"visible":true,
|
||||
"width":47.75,
|
||||
"x":95.75,
|
||||
"y":55.5
|
||||
}],
|
||||
"opacity":1,
|
||||
"type":"objectgroup",
|
||||
@@ -56,8 +78,8 @@
|
||||
"x":0,
|
||||
"y":0
|
||||
}],
|
||||
"nextlayerid":6,
|
||||
"nextobjectid":2,
|
||||
"nextlayerid":7,
|
||||
"nextobjectid":8,
|
||||
"orientation":"orthogonal",
|
||||
"renderorder":"right-down",
|
||||
"tiledversion":"1.5.0",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<map version="1.5" tiledversion="1.5.0" orientation="orthogonal" renderorder="right-down" width="20" height="15" tilewidth="16" tileheight="16" infinite="0" nextlayerid="6" nextobjectid="2">
|
||||
<map version="1.5" tiledversion="1.5.0" orientation="orthogonal" renderorder="right-down" width="20" height="15" tilewidth="16" tileheight="16" infinite="0" nextlayerid="7" nextobjectid="8">
|
||||
<editorsettings>
|
||||
<export target="level1.json" format="json"/>
|
||||
</editorsettings>
|
||||
@@ -43,6 +43,9 @@
|
||||
</data>
|
||||
</layer>
|
||||
<objectgroup id="5" name="objects">
|
||||
<object id="1" name="player" type="player" x="16" y="32" width="16" height="16"/>
|
||||
<object id="1" name="player" type="player" x="0" y="0" width="16" height="16"/>
|
||||
</objectgroup>
|
||||
<objectgroup id="6" name="colliders">
|
||||
<object id="7" type="collider" x="95.75" y="55.5" width="47.75" height="60.5"/>
|
||||
</objectgroup>
|
||||
</map>
|
||||
|
||||
Reference in New Issue
Block a user