Updated levels and created new ones
Updated levels 1 and 2 to make them playable. Added in levels 3 - 10.
This commit is contained in:
parent
a7ee3d7de7
commit
03f5bea581
14 changed files with 269 additions and 2 deletions
|
@ -8,7 +8,7 @@
|
|||
</tileset>
|
||||
<layer name="PLATFORM" width="50" height="8">
|
||||
<data encoding="base64" compression="zlib">
|
||||
eJztk8EKACAIQzX//5/rOEKWktGhHgxPy5kl8qmggSLokE31FprsH53xFYyIeRAVvofV+dmdNEcMdYS5mA/rLl6GarJ/OeLP3PVJsH/03bLsHTB3AJM=
|
||||
eJxjYBgFo2AUDARgIoAHC2AmgKkB0P2Oyy5GApge4YnL7pEIALMwAF8=
|
||||
</data>
|
||||
</layer>
|
||||
<objectgroup name="PLAYER">
|
||||
|
|
32
core/assets/levels/level10.tmx
Normal file
32
core/assets/levels/level10.tmx
Normal file
|
@ -0,0 +1,32 @@
|
|||
<?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="31">
|
||||
<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>
|
||||
<layer name="PLATFORM" width="50" height="8">
|
||||
<data encoding="base64" compression="zlib">
|
||||
eJxjYBgFo2AUDARgIoAHC2AmgKkB0P2Oyy5GApge4YnL7pEIALMwAF8=
|
||||
</data>
|
||||
</layer>
|
||||
<objectgroup name="PLAYER">
|
||||
<object id="24" gid="4" x="0" y="320" width="64" height="64"/>
|
||||
</objectgroup>
|
||||
<objectgroup name="BOUNDARY">
|
||||
<object id="23" x="0" y="-192">
|
||||
<polyline points="0,0 0,1024 3328,1024 3328,0 0,0"/>
|
||||
</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="30" x="3200" y="-192">
|
||||
<polyline points="0,0 0,640 128,640 128,0 0,0"/>
|
||||
</object>
|
||||
</objectgroup>
|
||||
</map>
|
|
@ -8,7 +8,7 @@
|
|||
</tileset>
|
||||
<layer name="PLATFORM" width="50" height="8">
|
||||
<data encoding="base64" compression="zlib">
|
||||
eJxjYBgFo2B4ACYK9TMSqQaGKTWLFECJeUxYMDJghmJk9aS4B5t55AJK9A60HZSmv6EIAF6cACk=
|
||||
eJxjYBgFo2AUDBbAhIZBgBENEwPQ9WDDIMCMBWNzB8wtxNhFCSDWTkoBNj9TyyxKzRtKAACkFABW
|
||||
</data>
|
||||
</layer>
|
||||
<objectgroup name="PLAYER">
|
||||
|
|
32
core/assets/levels/level3.tmx
Normal file
32
core/assets/levels/level3.tmx
Normal file
|
@ -0,0 +1,32 @@
|
|||
<?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="31">
|
||||
<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>
|
||||
<layer name="PLATFORM" width="50" height="8">
|
||||
<data encoding="base64" compression="zlib">
|
||||
eJxjYBgFQwEwo2EQYELDuNQxomFcerGpI9ZedIBuFiMOdaNg4AB6POKKy4EG5KYhbGkQV/rHlX9w5SFyzRluAACcKwCU
|
||||
</data>
|
||||
</layer>
|
||||
<objectgroup name="PLAYER">
|
||||
<object id="24" gid="4" x="0" y="64" width="64" height="64"/>
|
||||
</objectgroup>
|
||||
<objectgroup name="BOUNDARY">
|
||||
<object id="23" x="0" y="-192">
|
||||
<polyline points="0,0 0,1024 3328,1024 3328,0 0,0"/>
|
||||
</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="30" x="3200" y="-192">
|
||||
<polyline points="0,0 0,640 128,640 128,0 0,0"/>
|
||||
</object>
|
||||
</objectgroup>
|
||||
</map>
|
32
core/assets/levels/level4.tmx
Normal file
32
core/assets/levels/level4.tmx
Normal file
|
@ -0,0 +1,32 @@
|
|||
<?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">
|
||||
<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>
|
||||
<layer name="PLATFORM" width="50" height="8">
|
||||
<data encoding="base64" compression="zlib">
|
||||
eJxjYBgFIwkwDbQDqARo4Q9qm8mEhEGAEQsGyTFjwYTMw+dWbHLo9mIDxLqDWDtJsRuXmcToJSZMSLGTEoAtDIdzngMA3GQAZw==
|
||||
</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>
|
||||
</map>
|
32
core/assets/levels/level5.tmx
Normal file
32
core/assets/levels/level5.tmx
Normal file
|
@ -0,0 +1,32 @@
|
|||
<?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">
|
||||
<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>
|
||||
<layer name="PLATFORM" width="50" height="8">
|
||||
<data encoding="base64" compression="zlib">
|
||||
eJxjYBgFQxkwQTE6YEbDIMCIhpH1I5tDrF5KALr5QwngCvPBBNDjkBrxh08/rrjEpR5XGKKnRXoAQm5BB6T6dTgDAE5DAG8=
|
||||
</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>
|
||||
</map>
|
32
core/assets/levels/level6.tmx
Normal file
32
core/assets/levels/level6.tmx
Normal file
|
@ -0,0 +1,32 @@
|
|||
<?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="31">
|
||||
<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>
|
||||
<layer name="PLATFORM" width="50" height="8">
|
||||
<data encoding="base64" compression="zlib">
|
||||
eJxjYBgF2AAjFA8FwISE0cFg9gcjA373MWLB1AC4wopUwIyEKQFMDNjjENlcQuGA7A5GPGbispdUwMxAPf+TAmiRHkYB+QAA8XAAVA==
|
||||
</data>
|
||||
</layer>
|
||||
<objectgroup name="PLAYER">
|
||||
<object id="24" gid="4" x="0" y="320" width="64" height="64"/>
|
||||
</objectgroup>
|
||||
<objectgroup name="BOUNDARY">
|
||||
<object id="23" x="0" y="-192">
|
||||
<polyline points="0,0 0,1024 3328,1024 3328,0 0,0"/>
|
||||
</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="30" x="3200" y="-192">
|
||||
<polyline points="0,0 0,640 128,640 128,0 0,0"/>
|
||||
</object>
|
||||
</objectgroup>
|
||||
</map>
|
32
core/assets/levels/level7.tmx
Normal file
32
core/assets/levels/level7.tmx
Normal file
|
@ -0,0 +1,32 @@
|
|||
<?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="31">
|
||||
<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>
|
||||
<layer name="PLATFORM" width="50" height="8">
|
||||
<data encoding="base64" compression="zlib">
|
||||
eJxjYBgFlAJmKKYGYETC2OxAt4cJCRNSj24uLr3DHSCHAylhOtBgsLqLWEBttzNiwcj2wOzClg/Q3UNqvhsFEAAAL3cAZA==
|
||||
</data>
|
||||
</layer>
|
||||
<objectgroup name="PLAYER">
|
||||
<object id="24" gid="4" x="0" y="64" width="64" height="64"/>
|
||||
</objectgroup>
|
||||
<objectgroup name="BOUNDARY">
|
||||
<object id="23" x="0" y="-192">
|
||||
<polyline points="0,0 0,1024 3328,1024 3328,0 0,0"/>
|
||||
</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="30" x="3200" y="-192">
|
||||
<polyline points="0,0 0,640 128,640 128,0 0,0"/>
|
||||
</object>
|
||||
</objectgroup>
|
||||
</map>
|
32
core/assets/levels/level8.tmx
Normal file
32
core/assets/levels/level8.tmx
Normal file
|
@ -0,0 +1,32 @@
|
|||
<?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="31">
|
||||
<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>
|
||||
<layer name="PLATFORM" width="50" height="8">
|
||||
<data encoding="base64" compression="zlib">
|
||||
eJxjYBgFo2AUDARgIoAHC2AmgKkB0P2Oyy5GApge4YnL7pEIALMwAF8=
|
||||
</data>
|
||||
</layer>
|
||||
<objectgroup name="PLAYER">
|
||||
<object id="24" gid="4" x="0" y="320" width="64" height="64"/>
|
||||
</objectgroup>
|
||||
<objectgroup name="BOUNDARY">
|
||||
<object id="23" x="0" y="-192">
|
||||
<polyline points="0,0 0,1024 3328,1024 3328,0 0,0"/>
|
||||
</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="30" x="3200" y="-192">
|
||||
<polyline points="0,0 0,640 128,640 128,0 0,0"/>
|
||||
</object>
|
||||
</objectgroup>
|
||||
</map>
|
32
core/assets/levels/level9.tmx
Normal file
32
core/assets/levels/level9.tmx
Normal file
|
@ -0,0 +1,32 @@
|
|||
<?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="31">
|
||||
<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>
|
||||
<layer name="PLATFORM" width="50" height="8">
|
||||
<data encoding="base64" compression="zlib">
|
||||
eJxjYBgFo2AUDARgIoAHC2AmgKkB0P2Oyy5GApge4YnL7pEIALMwAF8=
|
||||
</data>
|
||||
</layer>
|
||||
<objectgroup name="PLAYER">
|
||||
<object id="24" gid="4" x="0" y="320" width="64" height="64"/>
|
||||
</objectgroup>
|
||||
<objectgroup name="BOUNDARY">
|
||||
<object id="23" x="0" y="-192">
|
||||
<polyline points="0,0 0,1024 3328,1024 3328,0 0,0"/>
|
||||
</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="30" x="3200" y="-192">
|
||||
<polyline points="0,0 0,640 128,640 128,0 0,0"/>
|
||||
</object>
|
||||
</objectgroup>
|
||||
</map>
|
BIN
core/assets/textures/player_yellow.png
Normal file
BIN
core/assets/textures/player_yellow.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.9 KiB |
|
@ -24,6 +24,7 @@ public abstract class Base {
|
|||
RED,
|
||||
GREEN,
|
||||
BLUE,
|
||||
YELLOW,
|
||||
NONE,
|
||||
}
|
||||
|
||||
|
|
|
@ -105,6 +105,12 @@ public class Player extends Base {
|
|||
bits |= Vars.BIT_BLUE;
|
||||
texture = App.assets.get("textures/player_blue.png", Texture.class);
|
||||
break;
|
||||
case YELLOW:
|
||||
bits &= ~Vars.BIT_RED;
|
||||
bits &= ~Vars.BIT_GREEN;
|
||||
bits |= Vars.BIT_BLUE;
|
||||
texture = App.assets.get("textures/player_yellow.png", Texture.class);
|
||||
break;
|
||||
}
|
||||
|
||||
filter.maskBits = bits;
|
||||
|
|
|
@ -216,6 +216,10 @@ public class Play extends AbstractScreen {
|
|||
colourchangeSound.play();
|
||||
player.setCurColour(Base.Colours.BLUE);
|
||||
}
|
||||
if(Gdx.input.isKeyJustPressed(Input.Keys.NUM_4))
|
||||
{
|
||||
player.setCurColour(Base.Colours.YELLOW);
|
||||
}
|
||||
|
||||
if(Gdx.input.isKeyJustPressed(Input.Keys.V)) { isDebug = !isDebug; }
|
||||
}
|
||||
|
|
Reference in a new issue