Log In  

Cart #simpleinputsystem-0 | 2020-12-02 | Code ▽ | Embed ▽ | No License

Simple input system, to manage key/button presses.

Registers pressed and release buttons.
Horizontal axis, vertical axis, O and X buttons are all independent of each other.

The code is commented, so you can follow along what it is doing (and possibly improve it, if you wish).

As is, it is good enough and does the job, but I wouldn't be surprised if there is a more efficient way of doing this.

P#84964 2020-12-02 21:06 ( Edited 2020-12-02 21:06)

Working in Pico-8 is pure delight. I think it would be even nicer if we had the option to set Pico-8 to play a brief sound analogous to a floppy disk drive when loading a program/cart.

Completely superfluous, but I would be very glad to have this option built in (even if it weren't the default and I had to enable it through a config file or menu).

What do you think?

P#81827 2020-09-15 03:59

Cart #vignette-1 | 2020-08-17 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

Just a simple vignette fade effect (like on loony tunes cartoons, that circular fade in/out).

Use X to open the vignette, Z to close it.
Arrow keys move the smiley face.

Can also be used to create a fake flashlight effect.

The code is very simple and commented, so it can be easily modified/repurposed.
The vignette works with a sprite that you can customize (to create other shapes).
Mine uses 4 sprite slots on the sprite sheet, but you could easily make it work with only one if you really need to save sprites. Just remember to also customize the draw_vignette function to make it work with different sized sprites.

P#80866 2020-08-16 23:41 ( Edited 2020-08-17 00:21)

Cart #sadnessandsorrow-0 | 2020-08-07 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

A cover of Sadness and Sorrow, originally composed by Toshio Masuda for the Naruto OST.
Initially, I wanted to also include the shamisen solo, but it was way too complicated and I ran out of SFX slots to use. Perhaps I'll revisit this in the future and try to include it.

P#80439 2020-08-07 02:45 ( Edited 2020-08-07 02:47)

Cart #bigchungus-0 | 2020-08-03 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

Now, the best game of all time is also on Pico-8!
Jokes aside, this is just a simple cover of the Big Chungus Main Theme, by Endigo.
Feel free to use it if you make a real Big Chungus game!

P#80316 2020-08-03 17:48 ( Edited 2020-08-03 19:47)

Cart #rocketjumpwaltz-2 | 2020-07-29 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

One of my favorite songs from the Team Fortress 2 OST.
Original by Mike Morasky

P#80099 2020-07-29 17:29 ( Edited 2020-07-29 17:37)

Cart #bug_smash-0 | 2020-07-17 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

"It's a gory version of the Mario Paint game with a chill sound track. Very hip."
u/TheRedBeed from r/pico8

Smash bugs with Z, move with arrow keys.
To start the game, smash the bug!

Player 2 can join and play at anytime. The game gets slightly more unforgiving with a second player, to compensate.

You can hold down the buttons to move faster and to smash repeatedly or you can tap them to be more precise.
Smashing multiple bugs in a streak without missing gives you bonus points, but it takes more time.
Be it button mashing or attacking with precision, get rid of all the bugs!

Coins give you some points.
Clocks give you some points and more time.
Ice gives you some points and freezes the bugs for a short while, making them easier to smash.

Time caps at 30 seconds with a single player, to have that in mind when collecting clocks.
After each wave is completed, you get a bit more time.

How long can you last and how many bugs can you smash?

This was my first Pico-8 game and it was a lot of fun to make it, I hope you enjoy it as well :)

P#79509 2020-07-17 19:45 ( Edited 2020-07-19 00:00)

This is just a music cart I made to learn the music editor. It was very interesting to learn how the music editor works. Now, I want to get better at this and make more music covers in the future.

P#79476 2020-07-17 01:38

Cart #bururhopi-0 | 2020-07-04 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

This is a simple typewriter style text box, like we see in many RPGs and Adventure games.

I was looking for examples of text boxes like these and only found complex and robust examples. They are excellent! But I thought it would be useful to have a simpler more "noob friendly" system.

The code is very commented, so anyone should be able to follow along and understand what it is doing. Also, this system is very simple but versatile. It can easily be expanded or customized if you know what you are doing.

P#78868 2020-07-04 03:11

Follow Lexaloffle:        
Generated 2021-10-25 00:23:19 | 0.111s | Q:37