Log In  

The export command and the -export command line option do not flatten #includes when exporting a .p8.png file. A cartridge exported from a .p8 program that uses #includes cannot be run.

P#102348 2021-12-11 00:19 ( Edited 2021-12-11 08:00)

For .p8.png use save instead of export.

save mycart.p8.png
P#102382 2021-12-11 10:43
1

Yes. The drawbacks of that are (a) that it is easy to forget to switch back to your original source, and then any edits you make are saved into the PNG, and (b) you cannot save the cart to a different filename with a command-line option, meaning that you cannot automate the build of the final cart PNG.

P#102391 2021-12-11 12:02

Export for PNG cart is recent, this is probably just a bug.

P#103027 2021-12-17 21:42

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-19 22:16:19 | 0.009s | Q:12