moonbus: improved menu and first level

This commit is contained in:
Dejvino 2024-08-11 12:51:28 +02:00
parent 09ddcac1ad
commit 937bee80c8

View File

@ -24,11 +24,11 @@ function reset()
load_level()
menuitem(1, "Next level", function()
menuitem(1, "next level", function()
plr_win=true
make_progress()
end)
menuitem(2, "Prev level", function()
menuitem(2, "prev level", function()
plr_win=true
plr_level-=2
make_progress()
@ -217,12 +217,16 @@ function _draw()
if main_menu then
map(0,64-16, 0, 0)
print("mOON bUS", 50,40,9)
print("press ❎ to start!", 32,60,11)
print("cONTROLS:", 10,70,3)
print("⬅️➡️⬆️⬇️ - engines", 50,70,3)
print("🅾️ - stabilizers", 50,80,3)
print("❎ - continue", 50,90,3)
if t() > 0.5 then
print("moon bus", 50,40,9)
end
if t() > 1 then
print("press ❎ to start!", 32,60,11)
print("cONTROLS:", 10,70,3)
print("⬅️➡️⬆️⬇️ - engines", 50,70,3)
print("🅾️ - stabilizers", 50,80,3)
print("❎ - continue", 50,90,3)
end
return
end
@ -706,11 +710,11 @@ __map__
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000011001100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000011110000000000000000000000000000000000001210141000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000111100000000060000001210101300000000000000000000000000000000121010101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001100000000000000000000000000110000000000000000000000000000110000
0012101013000000000000121010101000000000000000000000000000000012101010101013000000000000000000000000000000000000000000000000000011000000000000000000000020212123202123000000000000000000110000121010130000000000000000202122101300000000000000000000000012101300
1210101010130000000012101010101011001100000000110000000000121010101010101010130011000000000012141300000000000000000000000000001110130000000000000000000020212121212123000000000011001210101010101010101300001100000000202121101013000012101300000000001210101013
1010101010101010141010101010101010101010101010101010141010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010141010101010101010101010101010101010101010101010101010101010101010101010101010101010101010212221101010101010
0000000000000000000000000000000000000000000000000000000000000000001210141000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
2123000000000006110000000000000000000000000000000000000000000000121021212123000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001100000000000000000000000000110000000000000000000000000000111120
1021230000001214101013000000001221212300000000000000000000000012102121211013000000000000000000000000000000000000110000000000000011000000000000000000000020212123202123000000000000000000110000121010130000000000000000202122101300000000000000000000000012101010
1010130020212121211010131100121021212123110000110000000000121010101021211010130011000000000012142123000000000012101300000000001110130000000000000011001120212121212123000000000011001210101010101010101300001100000000202121101013000012101300000000001210101010
1010101010101010101010101010101010101010101010101010141010101010102121212110101010101010101010101010101010101010101010101010101010101010101010101010141010101010101010101010101010101010101010101010101010101010101010101010101010101010101010212221101010101010
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000