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?
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.
[Please log in to post a comment]