Log In  

All of the data for a pico8 cartridge can fit on a tiny png - but this is because all of the data are limited. But comments are not limited. You could write a novel in the comments and pico8 wouldn't object. So what happens if you run out of memory writing really long comments?

P#39008 2017-04-02 14:50 ( Edited 2017-04-03 01:59)

The comments contribute to the PROGRAM CHARS and COMPRESSED SIZE when you run INFO but as the pico-8.txt manual says it is unlikely to hit those limits before the token limits in most cases.

That being said, feel free to run out of memory using comments :)

:: Code size restrictions for .png format

    When saving in .png format, the compressed size of the code must be less than 15360 bytes. To find 
    out the current size of your code, use the INFO command. The compressed size limit is not enforced
    for .p8 format. In most cases you don't need to worry about the compressed size, as the token 
    limit (8192) will be reached first.


P#39015 2017-04-02 21:59 ( Edited 2017-04-03 01:59)

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2020-08-11 10:02 | 0.009s | 2097k | Q:14