project-specific setup and structure

This commit is contained in:
2024-01-31 19:48:48 -08:00
parent 95c4275641
commit 9851343c8f
2 changed files with 51 additions and 4 deletions

View File

@ -2,7 +2,7 @@ pico-8 cartridge // http://www.pico-8.com
version 41
__lua__
-- rename me
-- vacation (18+)
-- kistaro windrider
--------------------------------
@ -193,7 +193,7 @@ end
-- draws opaque rectangles.
-- default bg is equivalent to
-- clip-aware cls.
-- restores prior fill palette.
-- restores prior fill pattern.
bg = {
x=0,y=0,w=128,h=128,fp=0,c=0
}
@ -221,11 +221,35 @@ function animator:update()
self:strip(function(x) x:update() end)
end
function init()
-->8
-- setup and p8 entry points
function _init()
end
function _update60()
function _update()
end
function _draw()
end
-->8
-- text rendering
-->8
-- sprite rendering
-->8
-- consent screens
-->8
-- title screen
-->8
-- zonk mode
-->8
-- awakener
-->8
-- game mode