Level Changes

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.
This commit is contained in:
ESloman 2016-02-22 12:34:54 +00:00
parent 61322d04d4
commit 299d1a2d94
6 changed files with 72 additions and 13 deletions

View file

@ -1,14 +1,17 @@
<?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="30">
<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">
eJxjYBgFIwkwDbQDqARo4Q9qm8mEhEGAEQsGyTFjwYTMw+dWbHLo9mIDxLqDWDtJsRuXmcToJSZMSLGTEoAtDIdzngMA3GQAZw==
eJxjYBgFo2AU0AIwIWEQYMSCQYAZCyZkHhMONbgANnvRAbHuIBUQYzcleskNE1oAWoXhYAUAsHwAUw==
</data>
</layer>
<objectgroup name="PLAYER">
@ -29,4 +32,9 @@
<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>

View file

@ -8,11 +8,11 @@
</tileset>
<layer name="PLATFORM" width="50" height="8">
<data encoding="base64" compression="zlib">
eJxjYBgFo2AUDARgIoAHC2AmgKkB0P2Oyy5GApge4YnL7pEIALMwAF8=
eJxjYBgFgwEwAzHjQDuCQsCExGZEwuiAGYoHIyAUB0wMqP4kxjxkM4n1NyVhRIr78JlBql9BAFeckwIGMn1QGnbU8P9AAHLiGgQAlYAAOA==
</data>
</layer>
<objectgroup name="PLAYER">
<object id="24" gid="4" x="0" y="320" width="64" height="64"/>
<object id="24" gid="4" x="0" y="128" width="64" height="64"/>
</objectgroup>
<objectgroup name="BOUNDARY">
<object id="23" x="0" y="-192">
@ -29,4 +29,5 @@
<polyline points="0,0 0,640 128,640 128,0 0,0"/>
</object>
</objectgroup>
<objectgroup name="SPIKES"/>
</map>