Log In  
Follow
mrh
[ :: Read More :: ]

Is there a good way to see the total token count of a cartridge that is #including code from external files?

I know you can save the cart as .p8.png to get the includes flattened and then see the token count, but that's kind of a painful workflow when you're optimising code for token count.

If not @zep can you add a way to do this? Maybe a new mode for the stat tracker in the code editor?

P#94151 2021-06-27 21:03

[ :: Read More :: ]

Apologies, this has probably been answered before but it's kind of hard to search for this feature. It's not well documented in the readme or the wiki that I can find...

What does the CTRL+P performance monitor/CPU usage widget actually show? What do all the lines/dots and numbers represent?

P#93916 2021-06-23 21:41

[ :: Read More :: ]

Cart #planet_grid_mrh_v1-1 | 2020-01-05 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4

Welcome to Planet Grid. This is a small puzzle game, loosely based on the board game Barenpark. Instructions in game. Enjoy! Please feel free to leave any constructive criticism.

Controls: Arrow keys: select/move piece, Button O: Confirm, Button X: Rotate piece

Edit: Released v1.1 with a few small improvements and bug fixes.

P#71737 2020-01-03 23:10 ( Edited 2020-01-05 13:29)

[ :: Read More :: ]

Super Cake Cutter

Cart #cakecut-0 | 2019-04-08 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
5

Super Cake Cutter is a weird game I made, inspired by a weekly struggle suffered by my D&D group. Divide the cake evenly into the required number of slices. Watch out for strawberries, they make a slice more valuable!

Controls:
Arrows/D-Pad: Move current cut point
Button 1/Z: Cut
Button 2/X: Swap current cut point

Music Credit:
Autumn Wind by gruber (cc4-by-nc-sa) from the Pico-8 Tunes Vol. 2

Enjoy!

P#63341 2019-04-08 20:38

[ :: Read More :: ]

Cart #54120 | 2018-07-12 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
9

This cart is a game engine for the Pico-8. It's heavily based on flickgame, of course rewritten from scratch for the P8. Basically, you draw frames, and script the transitions between frames when a certain colour is clicked.

Controls
Mouse strongly recommended: Left click to interact/click buttons, right mouse to erase and exit play mode
Dpad and buttons can be used to replace mouse if you really want

Features

  • 8 64x64 px, 16 colour frames
  • Save to cart and autoplay to make standalone cartridges
  • Save/load to clipboard for handy sharing
  • Crappy editor UI

I might write up some more stuff about the technical side later. The actual code sucks, don't look at it. :)

Here's an example cart (remember you can right mouse/button 2 to exit play mode and view the source):

Cart #54123 | 2018-07-12 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
9


If anyone makes anything cool please feel free to share here, as a cart or a clipboard save.

P#54117 2018-07-12 17:35 ( Edited 2018-08-09 17:54)

[ :: Read More :: ]

I don't know whether this qualifies as a "bug" per se, or just "don't do silly things", but here goes.

If you open up a cart with Code Tabs in an editor you can see they are just separated by a character sequence: "-->8".

Weird stuff happens if you manually insert these. If you insert them in the P8 editor, they'll just sit there until you next load the cart, at which point they will become new tabs.

Also the P8 editor enforces a maximum 8 tabs (labelled 0-7). If you have more than this, it will silently drop the offending extra tabs, even if they have content.

My suggestion would be to do something different - perhaps ignore extra tab separators and concatenate all the extra tabs into one? Or at least flag a warning on load.

The way I can see this being a real problem is with copy and pasting via external editor. It would be really nasty to accidentally drop part of your code this way.

P#53987 2018-07-07 14:31 ( Edited 2018-07-07 23:11)

[ :: Read More :: ]


Here's my latest creation. The goal is to score points by making closed paths. You lose a life when you try and place a tile where it won't fit with the existing tiles on the board. There's a timer which forces you to place if you haven't when it runs out. Bonus points if you make a closed loop with none of the end cap pieces.

Controls: Arrow to move the cursor, button 1 to place a tile and button 2 to hold.

Let me know what you think. :)

P#47639 2017-12-22 17:54 ( Edited 2017-12-23 22:59)

[ :: Read More :: ]

I thought people might be interested. https://itch.io/jam/lowrezjam2017

It started a few days ago but it's running until the 17th so you haven't lost too much time yet. Lowrezjam games are 64x64 but you can get this in Pico-8 by doing a poke(0x5f2c,3).

I'm working on a pirate sailing adventure. I've got sailing around working ok, working on disembarking so you can walk around islands to look for treasure. Here's my progress so far:

Anyone else want to share?

P#43027 2017-08-03 11:45 ( Edited 2017-08-12 12:31)

[ :: Read More :: ]

Cart #24007 | 2016-06-30 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4

A chain reaction type game where you attempt to destroy nearly all the particles in the level.

Controls: Arrows to move, z to explode.

This is a demo, playable and (IMO) fun but it needs some polishing, most notably in the difficulty/progression. Adding more features to vary the levels would probably be a good idea.

Known bugs: Levels from about 8+ are not great, level 11+ is broken...

P#24008 2016-06-30 16:35 ( Edited 2016-07-01 03:37)

[ :: Read More :: ]


I'm thinking about making a vector graphics 3d game for the PICO-8 so I coded up a little demo. The 11 lines refers to the _DRAW() function for the pedants out there. :)

This is probably terrible in some way as I don't know much about 3d rendering, I just worked out the equations from a little background knowledge and some trig. Seems to work ok as long as you don't pass through the viewing plane (possibly the wrong term for what I'm thinking of).

P#23800 2016-06-28 17:46 ( Edited 2016-07-11 15:03)

[ :: Read More :: ]

Cart #23402 | 2016-06-21 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
5

A fun little toy/demo displaying some maze algorithms.

Note the mazes generated are perfect mazes, meaning they have exactly one path from any point to any other point inside the maze. They're not so useful for making games without some adaptation.

Algorithms:

Binary tree: at each cell, decides to go either down or right. Produces a bias towards diagonal movement and obvious lines at the bottom/right.

Sidewinder: goes along a run of cells horizontally, then adds one passage downwards. Tends towards vertical movement and obvious line at the bottom.

Aldous-Broder: random walk filling in cells as they're visited. Produces a totally unbiased maze (assuming rnd() is unbiased) but can be slow at the end.

If you're interested in the topic I recommend this book (that I got the idea/algorithms from): Mazes for Programmers.

P#23403 2016-06-21 15:39 ( Edited 2016-06-22 09:29)

[ :: Read More :: ]

Cart #23215 | 2016-06-19 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
6

A rhythm game for the Pico-8.

Controls: Press arrows with timing for great justice.

Music Credit: Wistful Waltz by 0xbad1dea, see this thread (big thanks).

UPDATED 0.3: Silly title screen, particle effects, persistent high scores. Still only one song, more coming soon(TM).

I'm no musician, so if anyone would like to submit a song for the Pico-8 for the full version I'd much appreciate it (with full credits included of course).

P.S. My high score is 7660, apparently that's pretty good?

Old Versions:
0.1.2
Cart #22938 | 2016-06-15 | Code ▽ | Embed ▽ | No License
6


"This is a quick demo that I did this evening. I'm hoping to build it out into a more fully featured game soon."

0.2

Cart #23082 | 2016-06-17 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
6


"Now updated with some shiny new graphics, and some infrastructure in place towards multiple songs (only 1 actual song currently)."

P#22939 2016-06-15 17:14 ( Edited 2016-07-12 18:24)

[ :: Read More :: ]

Cart #15045 | 2015-10-06 | Code ▽ | Embed ▽ | No License
3

Cart #14930 | 2015-10-03 | Code ▽ | Embed ▽ | No License
3

2 player chess. Arrows to move, button 1 to select a piece and confirm a move, button 2 to deselect.

En passant, castling, and pawn promotion don't work. Because they're complicated. I'm going to try and make an improved version soon which will have these rules working properly. This is why it's v0.95.

If you're going to look at the code, be warned: here be dragons. Its messy. Also white and black are swapped in the code from what they actually are in the game. Don't ask.

P#14931 2015-10-03 14:40 ( Edited 2015-11-02 21:52)

Follow Lexaloffle:          
Generated 2024-04-19 04:56:22 | 0.079s | Q:47