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

P#12375 2015-08-06 15:47 ( Edited 2017-09-12 15:39)

Eeeeeeevil. And clever. And evil.

And clever.

P#12378 2015-08-06 17:23 ( Edited 2015-08-06 21:23)

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?

P#12380 2015-08-06 18:10 ( Edited 2015-08-06 22:10)

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

P#12384 2015-08-06 19:04 ( Edited 2015-08-06 23:05)

@Connorses nice solution dude :)

P#13150 2015-08-25 23:44 ( Edited 2015-08-26 03:44)

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

P#13171 2015-08-26 13:35 ( Edited 2015-08-26 17:35)

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

P#13930 2015-09-09 16:23 ( Edited 2015-09-09 20:23)

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.

P#44117 2017-09-12 10:37 ( Edited 2017-09-12 14:39)

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

P#44119 2017-09-12 11:39 ( Edited 2017-09-12 15:39)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-29 14:48:50 | 0.017s | Q:33