Log In  

Hi guys,

thanks to pico's restrictions, I managed to finish my first-ever game, and I'm happy with the results.

However, I ended up using filthy trickstery to squeeze in as much content as possible, and as a result I ended up with a game needing several non-cartridge files to function. I'd like the feedback, but am not quite sure how to publish it on the forums. I could use some help with this.

The full game either #includes or load()s these files:


Some of the files are generated by my editor, and others are just data kept outside the game for the sake of developer sanity.

How would I upload such a thing so that it would get embedded in a forum post? I could inline the #includes, but it will still need two carts, because the main cart is pushing both token and size limits (8142/8192 and 99.7 % respectively). And what's the proper way to link between same-game carts on the forums?

Oh, and here's a playable HTML export here proving that the concoction actually works.

P#92746 2021-05-28 22:29 ( Edited 2021-05-28 22:34)

:: merwok

You can use 'load' on the BBS to chain-load from a title cart to main meny to level 1 etc; each cart has the code, sprite, etc restrictions; there is a small loading delay.

Multicart (using 'reload') is not possible on the BBS.

P#92752 2021-05-29 00:23
:: Phvli

Thanks, that's what I thought. Technically I can live with these restrictions.

But is there a clean way to preserve the file structure in BBS? Or is it customary to provide a separate github or similar repository for more complex projects, and just post a non-human-readable version of the cart in the forums?

P#92756 2021-05-29 03:42
:: merwok

People using splore will load your carts from the BBS fine.

For an offline version, you could provide a zip archive for example with all the carts in it, after replacing all 'load("#game-level1")' by 'load("game-level1")' so that pico8 looks for a local cart file instead of a BBS cart!

P#92810 2021-05-30 17:04
:: Phvli

For posterity, another thing (well, one of the issues) that popped up when doing this:

I was trying to #include binary data, but had encoding issues when manually inlining the files. Pico can resolve the inlines correctly this way:

  1. Save the cart as a .png
  2. Open the png cart and export it instead.
P#92884 2021-06-01 09:09

Regarding the LOAD() comments by @merwok above. You can also check STAT(102) and load either the #bbs ID or the local filename, without having to edit the code.

P#114522 2022-07-18 18:31
:: dw817

Very nice submarine game, @Phvli. I' recognizing that tune. Gruber's music goes good with just about everything. Gold star for you !

P#114524 2022-07-18 19:03

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2022-09-29 02:18:28 | 0.038s | Q:16