Log In  


Hey guys! I just made my first PICO-8 game, completely from scratch :)

I know it isn't much, but I'd like some feedback on it! Thanks for checking it out :D

Cart #button1_1-0 | 2022-06-17 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA


v1.0 - Release

  • Press the button with Z!
  • Upgrade how many presses you get each time you press the button with X!
  • Clear data by pressing up, then down.

v1.1 - Menu Option

  • Added menu item to clear data.
  • You can no longer clear data the previous way.
P#113288 2022-06-17 22:09 ( Edited 2022-06-17 22:59)

:: dw817

You have the foundation for a good clicker game, @Nayz. Gold star.

The best I have ever seen though is called, "BLIP BLOP" with many bonuses and power-ups you can earn.


P#113293 2022-06-17 23:41 ( Edited 2022-06-17 23:41)
:: Nayz

Thank you for the input @dw817! I'll check it out, maybe I can glean some inspiration from it :)

The main thing stopping me from adding more is the fact that I can't really think of an efficient way to implement a menu :/

P#113294 2022-06-18 00:32
:: dw817

Hi @Nayz:

Menus in Pico-8 are quite easy to create. Try copying this code directly to Pico-8:

function _init()
menuitem(1,"try this",function()this()end)

function _update()

function this()

Run this code. Press "P" to pause it and bring up the menu. Notice the new menu item, TRY THIS
Select it to run the function this() which returns the text, THAT

You can find full help on this feature HERE:


hope This Helps !

P#113297 2022-06-18 00:54
:: Nayz

Oh, yeah, I know how to use menuitem(), I just meant like actually making the game go to a different screen, you know, like with options and other graphics and stuff

P#113299 2022-06-18 02:24

Oops! I overflowed the variable! It was easy )

P#113310 2022-06-18 09:04
:: Nayz

@BogdaBard oh, haha, didn't realize it was that easy to do that. Any way to avoid the possibility of that happening?

P#113320 2022-06-18 19:10

One way would be to have several currencies. So one lever equals 1000 buttons, and one zoing equals 1000 levers.

Another way is to actually implement big numbers by storing your numbers as string in pico and doing some maths.

P#113333 2022-06-19 01:46 ( Edited 2022-06-19 01:46)
:: Nayz

@caranha of course, right! thanks for the insight!

P#113335 2022-06-19 02:04
:: modle

One way to handle multiple screens is to store the sprite position data for each screen, then track a screen state var.

There are methods to make this less token-intensive if you reach token limits, such as string splitting.

-- and so on; good use case for a function

Then when you want to switch screens, just switch which collection of sprites you're drawing.



-- draw the sprites

Alternate button handling


You might also just have a single collection of sprite tables, and give each sprite table a screen number. Then your draw function would check each sprite's screen number against the current screen number and draw if it matches.

P#113594 2022-06-24 20:28 ( Edited 2022-06-24 20:29)

Another way to avoid overflows is to use 0x0.0001 as your increment - tostr() has a feature to print PICO-8 numbers as integers, which increases the limit from 32,767 to 2,147,483,647.

Which still might be too small for a really aggressive clicker game, but at that point it probably makes sense to implement bignums in some way.

P#113596 2022-06-24 21:48

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2022-08-17 17:30:39 | 0.053s | Q:30