A small piece of code to dynamically create a functional cart from another cart and load it.
Why is this useful? Well, obviously this opens the door for somebody to write an alternative code editor for pico-8 carts! (j/k)
function _init() printh("pico-8 cartridge\n\n__lua__\n".. [[ -- your cart code here function _draw() cls(7) print("hello world",60,60) end ]],"dynamic.p8",true) load("dynamic.p8.p8l","back") end |
Caveats:
- Generated cart has ".p8l" extension, but it seems to load just fine
- It doesn't work for carts embedded on the BBS or loaded with Splore
Here's a WIP of my first game for Pico8. A turn-based football (or soccer as you prefer) game starring animals (because they're easier to draw).
This version of the game allows for 1P and 2P matches between two randomly generated teams. For 2P games both players use the same controller during their turn.
The game is, in its current state, heavily unbalanced (after all, the player stats are generated randomly) and it still requires a lot of gametest to work on that. But I think the main mechanics are in place and matches can be played from start to end (with some occasional crashes). Please provide any feedback or ideas you might have after playing the game
Update log
29/12/2018 - Initial AI implementation
MP8 is a music player for Pico8. It plays the music from the carts on your local system.
How to try it
The cart doesn't work on the BBS (because there's no access to the filesystem), so in order to test it please follow this steps in your Pico8 command line:
> load #57557 > save mp8.p8 > load mp8.p8 |
And then run the cart.