Log In  


!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!Due to the limitations of PICO-8's web player, this cartridge can only be run from the console!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

So, at the risk of incurring Zep's wrath, I've thrown together some examples of how to use the console's RAM to get around filesize limits.

This cart will draw some sprites to the screen that are loaded from spritesheet.p8 (Just save a cart with some sprites in the folder with this cart). Feel free to steal / repurpose

Cart #12373 | 2015-08-06 | Code ▽ | Embed ▽ | No License
10

10


Eeeeeeevil. And clever. And evil.

And clever.


How do I get this working? This cart (12373) has a sprite sheet and three lines of code that just load("main.p8") in an _init() function. Do I need another cart beyond spritesheet.p8? Does this need to be named something specific?

Am I missing the trick?


Download these and put both in your folder, rename them cart1.p8.png and cart2.p8.png and then try loading and running both.

Cart #12382 | 2015-08-06 | Code ▽ | Embed ▽ | No License


Cart #12383 | 2015-08-06 | Code ▽ | Embed ▽ | No License


@Connorses nice solution dude :)


Too bad it doesn't work in web player tho.


May I do a tutorial based on this for the wiki?


I was wondering why cartridge chaining wasn't a default feature when even gwbasic and basica versions way back in the day even had the CHAIN command.

A+. Could even go one further and use the cartridge data save/load spot for transferring unique strings of data between carts.

( For historical record for people who aren't old as dirt like me!)

http://www.antonis.de/qbebooks/gwbasman/chain.html

Used to use this back when to 'chain' bits of program together to get around the often low memory limits.


For the record, this is now an explicit feature of Pico-8: reload, cstore. (This thread predates those features.)



[Please log in to post a comment]