level templates on the map, thrown-together level chooser #7

Closed
kistaro wants to merge 3 commits from kistaro:level-chooser into main
Showing only changes of commit ee85e19c25 - Show all commits

View File

@ -1,6 +1,7 @@
pico-8 cartridge // http://www.pico-8.com
version 38
version 39
__lua__
-- setup
modules={}
real_modules={}
@ -112,6 +113,7 @@ function _mnmx(x,y)
end
-->8
-- input
kbd={}
add(real_modules,kbd)
function kbd:init()
@ -136,6 +138,7 @@ function kbd:release(i)
end
-->8
-- title screen
title={}
add(modules,title)
@ -159,6 +162,7 @@ function title:update()
end
end
-->8
--level behaviors
level={}
add(real_modules,level)
@ -534,6 +538,7 @@ function level:tug_crate(mx0,my0,dmx,dmy)
self:reanchor(false)
end
-->8
--player handling
player={}
add(real_modules,player)
@ -756,6 +761,7 @@ function player:draw()
end
-->8
--rope physics
rope={}
rope.__index=rope