Add maps and music

This commit is contained in:
Jaidyn Ann 2021-01-07 17:57:36 -06:00
parent 700b0000ac
commit 18c5a3b87f
18 changed files with 636 additions and 179 deletions

View File

@ -26,5 +26,4 @@ BORING STUFF
-------------------------------------------------- --------------------------------------------------
Jaidyn Ann <jadedctrl@teknik.io> Jaidyn Ann <jadedctrl@teknik.io>
Code under GPLv3 (see COPYING.txt) Code under GPLv3 (see COPYING.txt)
Art under varying (libre; see ./art/COPYING.txt) Art assets all under CC-BY
Libraries under varying (libre; see ./lib/COPYING.txt)

BIN
art/music/default.mp3 Normal file

Binary file not shown.

View File

@ -0,0 +1,5 @@
https://opengameart.org/content/quirky-runner
Quirky Runner
CC-BY 3.0

BIN
art/music/menu.mp3 Normal file

Binary file not shown.

4
art/music/menu.mp3.txt Normal file
View File

@ -0,0 +1,4 @@
https://opengameart.org/sites/default/files/the_life_and_times_of_inky_blinky_pinky_and_clyde_1.mp3
The Life and Times of Inky, Blinky, Pinky and Clyde
CC-BY 3.0

BIN
art/music/win.mp3 Normal file

Binary file not shown.

5
art/music/win.mp3.txt Normal file
View File

@ -0,0 +1,5 @@
https://opengameart.org/content/windle-pixels-8-bit-circus
Windle Pixel's 8-Bit Circus
CC-BY 3.0

View File

@ -80,12 +80,12 @@ end
function mainmenu_load () function mainmenu_load ()
mode = mainmenu mode = mainmenu
selection = 1 selection = 1
-- if(bgm) then if(bgm) then
-- bgm:stop() bgm:stop()
-- end end
-- bgm = love.audio.newSource("art/music/menu.ogg", "static") bgm = love.audio.newSource("art/music/default.mp3", "static")
-- bgm:play() bgm:play()
-- bgm:setLooping(true) bgm:setLooping(true)
-- bgm:setVolume(1.5) -- bgm:setVolume(1.5)
frontMenu = nil frontMenu = nil
mapMenu = nil mapMenu = nil
@ -196,6 +196,9 @@ end
-- PAUSE STATE -- PAUSE STATE
---------------------------------------- ----------------------------------------
function pause_load() function pause_load()
if(bgm) then
bgm:stop()
end
mode = pause mode = pause
end end
@ -215,6 +218,9 @@ end
function pause_keypressed(key) function pause_keypressed(key)
if (key == "return") then if (key == "return") then
if(bgm) then
bgm:play()
end
mode = game mode = game
elseif (key == "escape") then elseif (key == "escape") then
mainmenu_load() mainmenu_load()
@ -265,6 +271,13 @@ end
function youwin_load () function youwin_load ()
mode = youwin mode = youwin
if(bgm) then
bgm:stop()
end
bgm = love.audio.newSource("art/music/win.mp3", "static")
bgm:play()
bgm:setLooping(true)
camera = stalker() camera = stalker()
map = Map:new("maps/sys/win.lua") map = Map:new("maps/sys/win.lua")
end end
@ -282,7 +295,7 @@ function youwin_draw ()
camera:detach() camera:detach()
love.graphics.draw(love.graphics.newText(r_ttf, love.graphics.draw(love.graphics.newText(r_ttf,
"monkey happy!\n"), 200, 200, 0, 3, 3) "monkey happy!\nhit enter!"), 200, 200, 0, 3, 3)
camera:attach() camera:attach()
end end
@ -357,9 +370,9 @@ function game_keypressed(key)
player.following = false player.following = false
elseif (key == "=" and camera.scale < 10) then elseif (key == "=" and camera.scale < 10) then
camera.scale = camera.scale + 1 camera.scale = camera.scale + .5
elseif (key == "-" and camera.scale > 1) then elseif (key == "-" and camera.scale > .5) then
camera.scale = camera.scale - 1 camera.scale = camera.scale - .5
elseif (key == "escape") then elseif (key == "escape") then
pause_load() pause_load()

View File

@ -4,12 +4,12 @@ return {
tiledversion = "1.4.3", tiledversion = "1.4.3",
orientation = "orthogonal", orientation = "orthogonal",
renderorder = "right-down", renderorder = "right-down",
width = 100, width = 120,
height = 100, height = 50,
tilewidth = 16, tilewidth = 16,
tileheight = 16, tileheight = 16,
nextlayerid = 5, nextlayerid = 5,
nextobjectid = 46, nextobjectid = 47,
properties = {}, properties = {},
tilesets = {}, tilesets = {},
layers = { layers = {
@ -29,8 +29,8 @@ return {
name = "hi", name = "hi",
type = "", type = "",
shape = "text", shape = "text",
x = 37.6276, x = 390.961,
y = 34.1667, y = 10.1667,
width = 94.08, width = 94.08,
height = 17, height = 17,
rotation = 0, rotation = 0,
@ -319,8 +319,8 @@ return {
name = "", name = "",
type = "", type = "",
shape = "rectangle", shape = "rectangle",
x = 1370, x = 1619.33,
y = 236, y = 241.333,
width = 222.667, width = 222.667,
height = 77.3333, height = 77.3333,
rotation = 0, rotation = 0,
@ -345,8 +345,8 @@ return {
name = "", name = "",
type = "spawn", type = "spawn",
shape = "point", shape = "point",
x = 93, x = 441,
y = 80, y = 82.6667,
width = 0, width = 0,
height = 0, height = 0,
rotation = 0, rotation = 0,
@ -360,13 +360,28 @@ return {
name = "", name = "",
type = "banana", type = "banana",
shape = "point", shape = "point",
x = 1484, x = 1721.33,
y = 240, y = 238.667,
width = 0, width = 0,
height = 0, height = 0,
rotation = 0, rotation = 0,
visible = true, visible = true,
properties = {} properties = {}
},
{
id = 46,
name = "",
type = "",
shape = "text",
x = 1121.04,
y = 265.167,
width = 80.5938,
height = 19,
rotation = 0,
visible = true,
text = "-->",
wrap = true,
properties = {}
} }
} }
} }

View File

@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<map version="1.4" tiledversion="1.4.3" orientation="orthogonal" renderorder="right-down" width="100" height="100" tilewidth="16" tileheight="16" infinite="0" nextlayerid="5" nextobjectid="46"> <map version="1.4" tiledversion="1.4.3" orientation="orthogonal" renderorder="right-down" width="120" height="50" tilewidth="16" tileheight="16" infinite="0" nextlayerid="5" nextobjectid="47">
<editorsettings> <editorsettings>
<export target="1.lua" format="lua"/> <export target="1.lua" format="lua"/>
</editorsettings> </editorsettings>
<objectgroup id="2" name="Object Layer 1"> <objectgroup id="2" name="Object Layer 1">
<object id="2" name="hi" x="37.6276" y="34.1667" width="94.08" height="17"> <object id="2" name="hi" x="390.961" y="10.1667" width="94.08" height="17">
<text wrap="1">move with wasd or arrow keys</text> <text wrap="1">move with wasd or arrow keys</text>
</object> </object>
<object id="38" x="1102.96" y="312.833" width="82.0781" height="17"> <object id="38" x="1102.96" y="312.833" width="82.0781" height="17">
@ -31,17 +31,20 @@
<object id="24" x="959.333" y="353.333" width="30.6667" height="157.333"/> <object id="24" x="959.333" y="353.333" width="30.6667" height="157.333"/>
<object id="26" x="989.333" y="367.333" width="34.6667" height="143.333"/> <object id="26" x="989.333" y="367.333" width="34.6667" height="143.333"/>
<object id="29" x="1024" y="384.667" width="224" height="126.667"/> <object id="29" x="1024" y="384.667" width="224" height="126.667"/>
<object id="43" x="1370" y="236" width="222.667" height="77.3333"/> <object id="43" x="1619.33" y="241.333" width="222.667" height="77.3333"/>
</objectgroup> </objectgroup>
<objectgroup id="4" name="Object Layer 3"> <objectgroup id="4" name="Object Layer 3">
<object id="32" type="spawn" x="93" y="80"> <object id="32" type="spawn" x="441" y="82.6667">
<properties> <properties>
<property name="count" type="int" value="4"/> <property name="count" type="int" value="4"/>
</properties> </properties>
<point/> <point/>
</object> </object>
<object id="45" type="bananna" x="1484" y="240"> <object id="45" type="bananna" x="1721.33" y="238.667">
<point/> <point/>
</object> </object>
<object id="46" x="1121.04" y="265.167" width="80.5938" height="19">
<text wrap="1">--&gt;</text>
</object>
</objectgroup> </objectgroup>
</map> </map>

View File

@ -5,11 +5,11 @@ return {
orientation = "orthogonal", orientation = "orthogonal",
renderorder = "right-down", renderorder = "right-down",
width = 50, width = 50,
height = 20, height = 50,
tilewidth = 16, tilewidth = 16,
tileheight = 16, tileheight = 16,
nextlayerid = 7, nextlayerid = 7,
nextobjectid = 18, nextobjectid = 23,
properties = {}, properties = {},
tilesets = {}, tilesets = {},
layers = { layers = {
@ -25,71 +25,71 @@ return {
properties = {}, properties = {},
objects = { objects = {
{ {
id = 1, id = 5,
name = "",
type = "",
shape = "rectangle",
x = 779.288,
y = 116.365,
width = 20,
height = 145.333,
rotation = 0,
visible = true,
properties = {}
},
{
id = 18,
name = "",
type = "",
shape = "rectangle",
x = 16.2311,
y = 735.171,
width = 782.91,
height = 63.9694,
rotation = 0,
visible = true,
properties = {}
},
{
id = 19,
name = "",
type = "",
shape = "rectangle",
x = 112.663,
y = 258.742,
width = 683.614,
height = 479.293,
rotation = 0,
visible = true,
properties = {}
},
{
id = 20,
name = "", name = "",
type = "", type = "",
shape = "polygon", shape = "polygon",
x = 752, x = 301.707,
y = 128, y = 257.787,
width = 0, width = 0,
height = 0, height = 0,
rotation = 0, rotation = 0,
visible = true, visible = true,
polygon = { polygon = {
{ x = 0, y = 0 }, { x = 0, y = 0 },
{ x = -224, y = 48 }, { x = -188.089, y = -98.3411 },
{ x = -1.33333, y = 48 } { x = -189.044, y = 0.954768 }
}, },
properties = {} properties = {}
}, },
{ {
id = 2, id = 21,
name = "", name = "",
type = "", type = "",
shape = "rectangle", shape = "rectangle",
x = 748, x = 374.269,
y = 14.6667, y = 118.391,
width = 52, width = 423.917,
height = 161.333, height = 21.9597,
rotation = 0,
visible = true,
properties = {}
},
{
id = 3,
name = "",
type = "",
shape = "rectangle",
x = 1.33333,
y = 177.333,
width = 797.333,
height = 16,
rotation = 0,
visible = true,
properties = {}
},
{
id = 4,
name = "",
type = "",
shape = "rectangle",
x = -2.66667,
y = 30.6667,
width = 510.667,
height = 16,
rotation = 0,
visible = true,
properties = {}
},
{
id = 5,
name = "",
type = "",
shape = "rectangle",
x = -2.66667,
y = 46.6667,
width = 20,
height = 145.333,
rotation = 0, rotation = 0,
visible = true, visible = true,
properties = {} properties = {}
@ -112,8 +112,8 @@ return {
name = "", name = "",
type = "spawn", type = "spawn",
shape = "point", shape = "point",
x = 697.333, x = 50.0004,
y = 134.667, y = 727.578,
width = 0, width = 0,
height = 0, height = 0,
rotation = 0, rotation = 0,
@ -127,8 +127,8 @@ return {
name = "", name = "",
type = "banana", type = "banana",
shape = "point", shape = "point",
x = 54.6667, x = 725.869,
y = 174.667, y = 252.003,
width = 0, width = 0,
height = 0, height = 0,
rotation = 0, rotation = 0,
@ -148,33 +148,33 @@ return {
offsety = 0, offsety = 0,
properties = {}, properties = {},
objects = { objects = {
{
id = 16,
name = "",
type = "",
shape = "text",
x = 515.628,
y = 63.5,
width = 82.0781,
height = 17,
rotation = 0,
visible = true,
text = "touch it! go on!",
wrap = true,
properties = {}
},
{ {
id = 17, id = 17,
name = "", name = "",
type = "", type = "",
shape = "text", shape = "text",
x = 151.628, x = 407.506,
y = 63.5, y = 84.5049,
width = 82.0781, width = 82.0781,
height = 17, height = 17,
rotation = 0, rotation = 0,
visible = true, visible = true,
text = "frozen monkeys + frozen buttons", text = "frozen button + frozen monkey",
wrap = true,
properties = {}
},
{
id = 22,
name = "",
type = "",
shape = "text",
x = 17.944,
y = 604.416,
width = 80.5938,
height = 19,
rotation = 0,
visible = true,
text = "climb!",
wrap = true, wrap = true,
properties = {} properties = {}
} }
@ -196,8 +196,8 @@ return {
name = "", name = "",
type = "door", type = "door",
shape = "rectangle", shape = "rectangle",
x = 444, x = 376.211,
y = 49.3333, y = 132.398,
width = 20, width = 20,
height = 128, height = 128,
rotation = 0, rotation = 0,
@ -209,8 +209,8 @@ return {
name = "", name = "",
type = "frozenDoor", type = "frozenDoor",
shape = "rectangle", shape = "rectangle",
x = 110.667, x = 625.287,
y = 48, y = 128.201,
width = 17.3333, width = 17.3333,
height = 129.333, height = 129.333,
rotation = 0, rotation = 0,
@ -235,8 +235,8 @@ return {
name = "", name = "",
type = "button", type = "button",
shape = "rectangle", shape = "rectangle",
x = 480, x = 304.323,
y = 166.667, y = 247.822,
width = 42.6667, width = 42.6667,
height = 9.33333, height = 9.33333,
rotation = 0, rotation = 0,
@ -248,8 +248,8 @@ return {
name = "", name = "",
type = "frozenButton", type = "frozenButton",
shape = "rectangle", shape = "rectangle",
x = 176, x = 539.767,
y = 166.667, y = 249.732,
width = 58.6667, width = 58.6667,
height = 9.33333, height = 9.33333,
rotation = 0, rotation = 0,

View File

@ -1,42 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<map version="1.4" tiledversion="1.4.3" orientation="orthogonal" renderorder="right-down" width="50" height="20" tilewidth="16" tileheight="16" infinite="0" nextlayerid="7" nextobjectid="18"> <map version="1.4" tiledversion="1.4.3" orientation="orthogonal" renderorder="right-down" width="50" height="50" tilewidth="16" tileheight="16" infinite="0" nextlayerid="7" nextobjectid="23">
<editorsettings> <editorsettings>
<export target="2.lua" format="lua"/> <export target="2.lua" format="lua"/>
</editorsettings> </editorsettings>
<objectgroup id="2" name="platforms"> <objectgroup id="2" name="platforms">
<object id="1" x="752" y="128"> <object id="5" x="779.288" y="116.365" width="20" height="145.333"/>
<polygon points="0,0 -224,48 -1.33333,48"/> <object id="18" x="16.2311" y="735.171" width="782.91" height="63.9694"/>
<object id="19" x="112.663" y="258.742" width="683.614" height="479.293"/>
<object id="20" x="301.707" y="257.787">
<polygon points="0,0 -188.089,-98.3411 -189.044,0.954768"/>
</object> </object>
<object id="2" x="748" y="14.6667" width="52" height="161.333"/> <object id="21" x="374.269" y="118.391" width="423.917" height="21.9597"/>
<object id="3" x="1.33333" y="177.333" width="797.333" height="16"/>
<object id="4" x="-2.66667" y="30.6667" width="510.667" height="16"/>
<object id="5" x="-2.66667" y="46.6667" width="20" height="145.333"/>
</objectgroup> </objectgroup>
<objectgroup id="4" name="special"> <objectgroup id="4" name="special">
<object id="9" type="spawn" x="697.333" y="134.667"> <object id="9" type="spawn" x="50.0004" y="727.578">
<properties> <properties>
<property name="count" type="int" value="2"/> <property name="count" type="int" value="2"/>
</properties> </properties>
<point/> <point/>
</object> </object>
<object id="12" type="banana" x="54.6667" y="174.667"> <object id="12" type="banana" x="725.869" y="252.003">
<point/> <point/>
</object> </object>
</objectgroup> </objectgroup>
<objectgroup id="6" name="signs"> <objectgroup id="6" name="signs">
<object id="16" x="515.628" y="63.5" width="82.0781" height="17"> <object id="17" x="407.506" y="84.5049" width="82.0781" height="17">
<text wrap="1">touch it! go on!</text> <text wrap="1">frozen button + frozen monkey</text>
</object> </object>
<object id="17" x="151.628" y="63.5" width="82.0781" height="17"> <object id="22" x="17.944" y="604.416" width="80.5938" height="19">
<text wrap="1">frozen monkeys + frozen buttons</text> <text wrap="1">climb!</text>
</object> </object>
</objectgroup> </objectgroup>
<objectgroup id="3" name="doors"> <objectgroup id="3" name="doors">
<object id="7" type="door" x="444" y="49.3333" width="20" height="128"/> <object id="7" type="door" x="376.211" y="132.398" width="20" height="128"/>
<object id="8" type="frozenDoor" x="110.667" y="48" width="17.3333" height="129.333"/> <object id="8" type="frozenDoor" x="625.287" y="128.201" width="17.3333" height="129.333"/>
</objectgroup> </objectgroup>
<objectgroup id="5" name="buttons"> <objectgroup id="5" name="buttons">
<object id="10" type="button" x="480" y="166.667" width="42.6667" height="9.33333"/> <object id="10" type="button" x="304.323" y="247.822" width="42.6667" height="9.33333"/>
<object id="11" type="frozenButton" x="176" y="166.667" width="58.6667" height="9.33333"/> <object id="11" type="frozenButton" x="539.767" y="249.732" width="58.6667" height="9.33333"/>
</objectgroup> </objectgroup>
</map> </map>

221
maps/Monkey Business/3.lua Normal file
View File

@ -0,0 +1,221 @@
return {
version = "1.4",
luaversion = "5.1",
tiledversion = "1.4.3",
orientation = "orthogonal",
renderorder = "right-down",
width = 100,
height = 100,
tilewidth = 16,
tileheight = 16,
nextlayerid = 5,
nextobjectid = 14,
properties = {},
tilesets = {},
layers = {
{
type = "objectgroup",
draworder = "topdown",
id = 2,
name = "platforms",
visible = true,
opacity = 1,
offsetx = 0,
offsety = 0,
properties = {},
objects = {
{
id = 1,
name = "",
type = "",
shape = "rectangle",
x = 333.333,
y = 950.667,
width = 754.667,
height = 93.3333,
rotation = 0,
visible = true,
properties = {}
},
{
id = 2,
name = "",
type = "",
shape = "rectangle",
x = 624.667,
y = 79.3333,
width = 162,
height = 18,
rotation = 0,
visible = true,
properties = {}
},
{
id = 3,
name = "",
type = "",
shape = "rectangle",
x = 626.667,
y = 98.3333,
width = 21,
height = 109,
rotation = 0,
visible = true,
properties = {}
},
{
id = 4,
name = "",
type = "",
shape = "rectangle",
x = 767.667,
y = 98.3333,
width = 20,
height = 108,
rotation = 0,
visible = true,
properties = {}
}
}
},
{
type = "objectgroup",
draworder = "topdown",
id = 3,
name = "doors",
visible = true,
opacity = 1,
offsetx = 0,
offsety = 0,
properties = {},
objects = {
{
id = 5,
name = "",
type = "door",
shape = "rectangle",
x = 628.667,
y = 192.333,
width = 159,
height = 17,
rotation = 0,
visible = true,
properties = {}
}
}
},
{
type = "objectgroup",
draworder = "topdown",
id = 4,
name = "buttons",
visible = true,
opacity = 1,
offsetx = 0,
offsety = 0,
properties = {},
objects = {
{
id = 6,
name = "",
type = "button",
shape = "rectangle",
x = 672.667,
y = 393.667,
width = 70.3333,
height = 16,
rotation = 0,
visible = true,
properties = {}
},
{
id = 7,
name = "",
type = "banana",
shape = "point",
x = 702.667,
y = 191.333,
width = 0,
height = 0,
rotation = 0,
visible = true,
properties = {}
},
{
id = 8,
name = "",
type = "spawn",
shape = "point",
x = 711.667,
y = 950.333,
width = 0,
height = 0,
rotation = 0,
visible = true,
properties = {
["count"] = "10"
}
},
{
id = 9,
name = "",
type = "",
shape = "text",
x = 663.703,
y = 786.5,
width = 80.5938,
height = 19,
rotation = 0,
visible = true,
text = "+/- to zoom",
wrap = true,
properties = {}
},
{
id = 11,
name = "",
type = "",
shape = "rectangle",
x = 858.667,
y = 613.333,
width = 24,
height = 76,
rotation = 0,
visible = true,
properties = {}
},
{
id = 12,
name = "",
type = "",
shape = "polygon",
x = 870.667,
y = 580,
width = 0,
height = 0,
rotation = 0,
visible = true,
polygon = {
{ x = 0, y = 0 },
{ x = -25.3333, y = 38.6667 },
{ x = 30.6667, y = 38.6667 }
},
properties = {}
},
{
id = 13,
name = "",
type = "",
shape = "rectangle",
x = 566.667,
y = 412,
width = 302.667,
height = 41.3333,
rotation = 0,
visible = true,
properties = {}
}
}
}
}
}

View File

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.4" tiledversion="1.4.3" orientation="orthogonal" renderorder="right-down" width="100" height="100" tilewidth="16" tileheight="16" infinite="0" nextlayerid="5" nextobjectid="14">
<objectgroup id="2" name="platforms">
<object id="1" x="333.333" y="950.667" width="754.667" height="93.3333"/>
<object id="2" x="624.667" y="79.3333" width="162" height="18"/>
<object id="3" x="626.667" y="98.3333" width="21" height="109"/>
<object id="4" x="767.667" y="98.3333" width="20" height="108"/>
</objectgroup>
<objectgroup id="3" name="doors">
<object id="5" type="frozenDoor" x="628.667" y="192.333" width="159" height="17"/>
</objectgroup>
<objectgroup id="4" name="buttons">
<object id="6" type="frozenButton" x="672.667" y="393.667" width="70.3333" height="16"/>
<object id="7" type="banana" x="702.667" y="191.333">
<point/>
</object>
<object id="8" type="spawn" x="711.667" y="950.333">
<properties>
<property name="count" value="10"/>
</properties>
<point/>
</object>
<object id="9" x="663.703" y="786.5" width="80.5938" height="19">
<text wrap="1">+/- to zoom</text>
</object>
<object id="11" x="858.667" y="613.333" width="24" height="76"/>
<object id="12" x="870.667" y="580">
<polygon points="0,0 -25.3333,38.6667 30.6667,38.6667"/>
</object>
<object id="13" x="566.667" y="412" width="302.667" height="41.3333"/>
</objectgroup>
</map>

View File

@ -9,7 +9,7 @@ return {
tilewidth = 16, tilewidth = 16,
tileheight = 16, tileheight = 16,
nextlayerid = 4, nextlayerid = 4,
nextobjectid = 33, nextobjectid = 49,
properties = {}, properties = {},
tilesets = {}, tilesets = {},
layers = { layers = {
@ -160,6 +160,19 @@ return {
rotation = 0, rotation = 0,
visible = true, visible = true,
properties = {} properties = {}
},
{
id = 33,
name = "",
type = "banana",
shape = "point",
x = 78.9474,
y = 784.897,
width = 0,
height = 0,
rotation = 0,
visible = true,
properties = {}
} }
} }
} }

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<map version="1.4" tiledversion="1.4.3" orientation="orthogonal" renderorder="right-down" width="50" height="50" tilewidth="16" tileheight="16" infinite="0" nextlayerid="4" nextobjectid="33"> <map version="1.4" tiledversion="1.4.3" orientation="orthogonal" renderorder="right-down" width="50" height="50" tilewidth="16" tileheight="16" infinite="0" nextlayerid="4" nextobjectid="49">
<editorsettings> <editorsettings>
<export target="menu.lua" format="lua"/> <export format="lua"/>
</editorsettings> </editorsettings>
<objectgroup id="2" name="Object Layer 1"> <objectgroup id="2" name="Object Layer 1">
<object id="2" x="38.932" y="306.814" width="14.6488" height="242.519"/> <object id="2" x="38.932" y="306.814" width="14.6488" height="242.519"/>
@ -24,5 +24,8 @@
<object id="32" type="respawn" x="330.667" y="2.66667"> <object id="32" type="respawn" x="330.667" y="2.66667">
<point/> <point/>
</object> </object>
<object id="33" type="banana" x="78.9474" y="784.897">
<point/>
</object>
</objectgroup> </objectgroup>
</map> </map>

View File

@ -9,7 +9,7 @@ return {
tilewidth = 16, tilewidth = 16,
tileheight = 16, tileheight = 16,
nextlayerid = 4, nextlayerid = 4,
nextobjectid = 33, nextobjectid = 49,
properties = {}, properties = {},
tilesets = {}, tilesets = {},
layers = { layers = {
@ -64,61 +64,35 @@ return {
properties = {} properties = {}
}, },
{ {
id = 27, id = 37,
name = "",
type = "",
shape = "rectangle",
x = 466.819,
y = 306.636,
width = 120.137,
height = 11.4416,
rotation = 0,
visible = true,
properties = {}
},
{
id = 40,
name = "", name = "",
type = "", type = "",
shape = "polygon", shape = "polygon",
x = 800, x = 54.9199,
y = 530.242, y = 311.213,
width = 0, width = 0,
height = 0, height = 0,
rotation = 0, rotation = 0,
visible = true, visible = true,
polygon = { polygon = {
{ x = 0, y = 0 }, { x = 0, y = 0 },
{ x = -360.606, y = 269.697 }, { x = 529.748, y = 225.4 },
{ x = -6.06061, y = 266.667 } { x = -3.43249, y = 229.977 }
}, },
properties = {} properties = {}
},
{
id = 28,
name = "",
type = "",
shape = "rectangle",
x = 46.6665,
y = 791.333,
width = 66.6667,
height = 14.6667,
rotation = 0,
visible = true,
properties = {}
},
{
id = 29,
name = "",
type = "",
shape = "rectangle",
x = 177.333,
y = 790,
width = 105.333,
height = 16,
rotation = 0,
visible = true,
properties = {}
},
{
id = 30,
name = "",
type = "",
shape = "rectangle",
x = 346.667,
y = 788.667,
width = 54.6667,
height = 16,
rotation = 0,
visible = true,
properties = {}
} }
} }
}, },
@ -138,14 +112,14 @@ return {
name = "", name = "",
type = "spawn", type = "spawn",
shape = "point", shape = "point",
x = 321.333, x = 521.562,
y = 484, y = 299.789,
width = 0, width = 0,
height = 0, height = 0,
rotation = 0, rotation = 0,
visible = true, visible = true,
properties = { properties = {
["count"] = 10 ["count"] = 1
} }
}, },
{ {
@ -153,8 +127,125 @@ return {
name = "", name = "",
type = "respawn", type = "respawn",
shape = "point", shape = "point",
x = 330.667, x = 535.472,
y = 2.66667, y = 17.5408,
width = 0,
height = 0,
rotation = 0,
visible = true,
properties = {}
},
{
id = 33,
name = "",
type = "banana",
shape = "point",
x = 99.5423,
y = 315.789,
width = 0,
height = 0,
rotation = 0,
visible = true,
properties = {}
},
{
id = 41,
name = "",
type = "banana",
shape = "point",
x = 133.867,
y = 320.366,
width = 0,
height = 0,
rotation = 0,
visible = true,
properties = {}
},
{
id = 42,
name = "",
type = "banana",
shape = "point",
x = 124.714,
y = 291.762,
width = 0,
height = 0,
rotation = 0,
visible = true,
properties = {}
},
{
id = 43,
name = "",
type = "banana",
shape = "point",
x = 183.066,
y = 307.78,
width = 0,
height = 0,
rotation = 0,
visible = true,
properties = {}
},
{
id = 44,
name = "",
type = "banana",
shape = "point",
x = 177.346,
y = 259.725,
width = 0,
height = 0,
rotation = 0,
visible = true,
properties = {}
},
{
id = 45,
name = "",
type = "banana",
shape = "point",
x = 219.68,
y = 296.339,
width = 0,
height = 0,
rotation = 0,
visible = true,
properties = {}
},
{
id = 46,
name = "",
type = "banana",
shape = "point",
x = 181.922,
y = 356.979,
width = 0,
height = 0,
rotation = 0,
visible = true,
properties = {}
},
{
id = 47,
name = "",
type = "banana",
shape = "point",
x = 217.391,
y = 328.375,
width = 0,
height = 0,
rotation = 0,
visible = true,
properties = {}
},
{
id = 48,
name = "",
type = "banana",
shape = "point",
x = 245.995,
y = 358.124,
width = 0, width = 0,
height = 0, height = 0,
rotation = 0, rotation = 0,

53
maps/sys/win.tmx Normal file
View File

@ -0,0 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.4" tiledversion="1.4.3" orientation="orthogonal" renderorder="right-down" width="50" height="50" tilewidth="16" tileheight="16" infinite="0" nextlayerid="4" nextobjectid="49">
<editorsettings>
<export target="win.lua" format="lua"/>
</editorsettings>
<objectgroup id="2" name="Object Layer 1">
<object id="2" x="38.932" y="306.814" width="14.6488" height="242.519"/>
<object id="4" x="55.2085" y="537.94" width="524.102" height="11.3935"/>
<object id="6" x="581.752" y="306" width="14.6488" height="242.52"/>
<object id="37" x="466.819" y="306.636" width="120.137" height="11.4416"/>
<object id="40" x="54.9199" y="311.213">
<polygon points="0,0 529.748,225.4 -3.43249,229.977"/>
</object>
</objectgroup>
<objectgroup id="3" name="Object Layer 2">
<object id="31" type="spawn" x="521.562" y="299.789">
<properties>
<property name="count" type="int" value="10"/>
</properties>
<point/>
</object>
<object id="32" type="respawn" x="535.472" y="17.5408">
<point/>
</object>
<object id="33" type="banana" x="99.5423" y="315.789">
<point/>
</object>
<object id="41" type="banana" x="133.867" y="320.366">
<point/>
</object>
<object id="42" type="banana" x="124.714" y="291.762">
<point/>
</object>
<object id="43" type="banana" x="183.066" y="307.78">
<point/>
</object>
<object id="44" type="banana" x="177.346" y="259.725">
<point/>
</object>
<object id="45" type="banana" x="219.68" y="296.339">
<point/>
</object>
<object id="46" type="banana" x="181.922" y="356.979">
<point/>
</object>
<object id="47" type="banana" x="217.391" y="328.375">
<point/>
</object>
<object id="48" type="banana" x="245.995" y="358.124">
<point/>
</object>
</objectgroup>
</map>