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