Log In  
Turtle Tailgate!
by profpatonildo
Music Cart: Rocket Jump Waltz (TF2 OST)
by profpatonildo
:: Unfold ::

Cart #topdownai-0 | 2022-08-14 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

This is an example of how to do enemies that somewhat follow and try to seek the player.

It works like this:

  • each enemy shoots sensors towards the player.
  • if a sensor hits a wall, it gets deleted.
  • if a sensor exceeds a set amount of time, it gets deleted.
  • if a sensor hits the player, a position gets marked as a target for the enemy that emitted that sensor.
  • enemies will move to their target positions.
  • enemies will roam randomly when the player hasn't been detected.
  • enemies have a fov: sensors are emitted only if they are inside the range of this fov.
  • if the player gets too close to enemies, they will detect the player, regardless of their fov.
  • if the enemy can't find the player, it will get deactivated after a set amount of frames or after it reaches its target position.

This example also features:

  • a bunch of helper functions;
  • animation system;
  • y sorting system;
  • outlined sprites;
  • outlined text printing;
  • floating text messages system.

If this was helpful or interesting for you, please give my itch.io page a visit: https://profpatonildo.itch.io/ or consider buying me a coffee: https://ko-fi.com/profpatonildo70266

P#115726 2022-08-14 00:30

:: Unfold ::

Is there a way to export a cartridge's label image? I'm working on a mod of a cartridge and I wanted to make some small tweaks to the cart's label image.

P#115661 2022-08-12 17:46

:: Unfold ::

Cart #turtle_tailgate_test-1 | 2022-08-01 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA


Arrows to move, Z to confirm, Enter for menu.

How to play!

Don't crash into turtles and avoid starfish and sea urchins!

Collect hearts for extra lives!

To score points, stay behind turtles for as long as you can, but don't forget to dodge them at the last moment!

The score multiplier decreases if you are too far away from the next turtle. Keep the multiplier high to score more points!

Are you fast enough to keep up?

Tips and Tricks

You don't need to hold the arrow keys. Just tap the direction of the lane you want to switch to and you'll be moved there automatically.

If your fingers are fast enough, it is possible to stay in the space between lanes for a short while. That will help you avoid seemingly impossible obstacles:

You can often squeeze through very tight gaps. Take note of the size of the character's hitboxes:

In the first stages of the game, a heart spawns whenever you get 1000 points. Don't forget to collect these extra lives, as their spawn rate decreases in the later stages.


I made this game by myself during July 2022. What inspired me was @Krystman Shmup tutorials on the Lazy Devs YouTube channel (https://www.youtube.com/c/LazyDevs), especially when he demonstrated how to create a parallax scrolling star field. You can see that I implemented that sort of thing with the bubbles in this game. I ended up not making a Shmup, though, but I think I'll try it out someday in the future.

The main song of the game is a rendition of Misirlou, a folk song from Eastern Mediterranean countries. I wanted it to sound more like Dick Dale's arrangement of it, which is quintessentially surf rock, but I don't think I've succeeded in capturing that impression. The song is still catchy, though, but some people may feel like it doesn't really fit a marine setting.

Thank you so much for playing! I made this game for the fun of it, but consider making a donation if you enjoyed this little toy I've put together for you: https://ko-fi.com/profpatonildo70266


This game is released under CC BY-NC-SA 4.0. Here's a link to a summary of the license: https://creativecommons.org/licenses/by-nc-sa/4.0/

P#115085 2022-08-01 03:51

:: Unfold ::

In TIC-80, you can type on the command prompt "help" followed by the name of any built in function and the console will then output a short explanation about how to use that function. It would be nice to have something like this in Pico-8 as well. For example, you type in the command prompt:

help spr

and then Pico-8 outputs a short explanation of how spr works, followed by the parameters it takes.

P#112659 2022-06-03 03:38

:: Unfold ::

Cart #moveandcollision-0 | 2022-06-02 | Code ▽ | Embed ▽ | No License

I release this under the CC0 1.0 license: https://creativecommons.org/publicdomain/zero/1.0/

This a simple collision system I wrote for fun. It can handle hit boxes with varying sizes and with different amounts of reference/sample points. It can handle collisions using tiles or used x/y positions from objects.

Also, in this example there's code for an 8 way movement system with acceleration and sliding along walls.

The code is VERY commented, so you can follow along and see what each part of it is doing/why it's there.

Feel free to use this in any sort of project.
If this was useful to you, consider buying me a coffee: https://ko-fi.com/profpatonildo70266

P#112642 2022-06-02 19:42

:: Unfold ::

I'm running the Linux version of Pico-8
The load command works with some carts but doesn't work with others. The only output from the pico-8 console is "could not load". If I launch splore, then I can launch all carts from splore.
I just recently reinstalled my system and the problem started after that.

P#101134 2021-11-30 22:26 ( Edited 2021-12-01 01:41)

:: Unfold ::

Cart #simpleinputsystem-0 | 2020-12-02 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

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)

:: Unfold ::

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

:: Unfold ::

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)

:: Unfold ::

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)

:: Unfold ::

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)

:: Unfold ::

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)

:: Unfold ::

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)

:: Unfold ::

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

:: Unfold ::

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 2023-10-01 21:26:37 | 0.090s | Q:56