Log In  
Follow
Mushkrat

Hello,

I'm wondering if include has a return value similar to require that would allow me to keep my various modules defined locally and not pollute my global environment, or if there is a trick to using require in Picotron. I'm keeping things pretty organized, but it would be really nice to have the flexibility of require. I thought Picotron used Lua 5.4? Or is it just a subset?

Thanks,
Mushky

3 comments



Cart #pic0pop-4 | 2024-02-28 | Code ▽ | Embed ▽ | No License
5

Here's my bubbleshooter clone. Use L/R to aim and Z/O to launch. Ultimately you have to eliminate all bubbles to progress to next level, but there's the added challenge of trying to pop all the star bubbles in the level. You have to actually land adjacent to these to make them pop. Making them fall doesn't count.

I made a little level editor tool for myself to help in creating these levels and tweaking them later. I'll be honest. I didn't find designing these levels to be super interesting, but I tried to at least make them possible. I probably need to study a bit to find out designs that make these levels fun to play, but as far as mechanics I'm reasonably happy with this and willing to call it my "first" complete pico-8 game.

If people think it's fun or want to see more, then maybe I'll revisit this and continue to add levels and QOL to this project.

Edit: fixed the hard coded level. Should play them correctly now.

5
3 comments