Thank you for your comments.
-random arrangement of bananas
-levels with more bananas
-banana adds two seconds to the time of the collection
-at start of new level from the time of the collection subtracted a random number
I've just started learning pico-8 and this is my first test game.
You should take all bananas.
cursors - move
z - take banana
P#13557 2015-09-02 11:38 ( Edited 2015-09-08 17:35)
To add a menu/title screen, here's what I did.
There's 3 main functions: Update, Init, and Draw.
Here's a snippet from my game:
function _init() mode = 0 menuinit() end function menuinit() -- code that is activated when you start the menu up. end function gameinit() -- whatever was in init(), put it here end
function _update() if (mode == 0) then menuupdate() else gameupdate() end end function menuupdate() -- update stuff for the menu here. end function gameupdate() --again, whatever was in update() goes here now. end
function _draw() if (mode == 0) then menudraw() else gamedraw() end end function menudraw() -- draw stuff for the menu here. end function gamedraw() --again, whatever was in draw() goes here now. end
P#13835 2015-09-08 09:01 ( Edited 2015-09-08 13:01)
P#13860 2015-09-08 13:35 ( Edited 2015-09-08 17:35)
[Please log in to post a comment]