299d1a2d94
Added in Level 8. Also removed the walls that the player had to pass through in levels 4 onwards. Edited Level 4 to introduce spikes and added a 'SPIKES' layer in Tiled. Also added the texture to assets. Unfortunately my code is wrong and it isn't working so level 4 is currently broken.
40 lines
1.7 KiB
XML
40 lines
1.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<map version="1.0" orientation="orthogonal" renderorder="right-down" width="50" height="8" tilewidth="64" tileheight="64" nextobjectid="46">
|
|
<tileset firstgid="1" name="platformSet" tilewidth="64" tileheight="64" tilecount="3" columns="3">
|
|
<image source="../spritesheets/platformSet.png" width="192" height="64"/>
|
|
</tileset>
|
|
<tileset firstgid="4" name="player" tilewidth="64" tileheight="64" tilecount="1" columns="1">
|
|
<image source="../textures/player_red.png" width="64" height="64"/>
|
|
</tileset>
|
|
<tileset firstgid="5" name="Spikes" tilewidth="64" tileheight="64" tilecount="1" columns="1">
|
|
<image source="../textures/spikes.png" width="64" height="64"/>
|
|
</tileset>
|
|
<layer name="PLATFORM" width="50" height="8">
|
|
<data encoding="base64" compression="zlib">
|
|
eJxjYBgFo2AU0AIwIWEQYMSCQYAZCyZkHhMONbgANnvRAbHuIBUQYzcleskNE1oAWoXhYAUAsHwAUw==
|
|
</data>
|
|
</layer>
|
|
<objectgroup name="PLAYER">
|
|
<object id="22" gid="4" x="0" y="256" width="64" height="64"/>
|
|
</objectgroup>
|
|
<objectgroup name="BOUNDARY">
|
|
<object id="21" x="0" y="-277.333">
|
|
<polyline points="0,85.3333 0,1109.33 3328,1109.33 3328,85.3333 0,85.3333"/>
|
|
</object>
|
|
</objectgroup>
|
|
<objectgroup name="FAILBOUNDARY">
|
|
<object id="29" x="0" y="704">
|
|
<polyline points="0,0 3328,0 3328,128 0,128 0,0"/>
|
|
</object>
|
|
</objectgroup>
|
|
<objectgroup name="PASSBOUNDARY">
|
|
<object id="28" x="3200" y="-192">
|
|
<polyline points="0,0 128,0 128,512 0,512 0,0"/>
|
|
</object>
|
|
</objectgroup>
|
|
<objectgroup name="SPIKES">
|
|
<object id="41" gid="5" x="1344" y="256" width="64" height="64"/>
|
|
<object id="44" gid="5" x="1728" y="256" width="64" height="64"/>
|
|
<object id="45" gid="5" x="2688" y="384" width="64" height="64"/>
|
|
</objectgroup>
|
|
</map>
|