Log In  

Cart #10159 | 2015-04-23 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

experimenting with pico hardware

neato features:

persistent loading/saving (not sure yet if this works in the web player?)
day/night cycle
shitty music

P#10160 2015-04-23 19:05 ( Edited 2015-04-24 18:53)

saving/loading does not work in the js player. It uses the data from the uploaded version

P#10161 2015-04-23 19:06 ( Edited 2015-04-23 23:06)

Nice! I didn't know you could call save from inside a game.

Maybe a future web player update can implement save() and load() using local storage.

  • A cart is less than 17kb in binary form(only the data without the png)
  • Pichodachi.p8 is ~38kb in ascii form and compresses to ~2kb using gzip.
  • localStorage gives you 5MB per domain.
P#10187 2015-04-24 14:53 ( Edited 2015-04-24 18:53)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 14:41:38 | 0.030s | Q:16