dansanderson / picotool

Tools and Python libraries for manipulating Pico-8 game files. http://www.lexaloffle.com/pico-8.php
MIT License
371 stars 45 forks source link

Code tab management? #29

Open dansanderson opened 6 years ago

dansanderson commented 6 years ago

Pico-8 0.1.11 code tabs are implemented as comment lines that look like scissors:

code in tab 0
-->8
code in tab 1
-->8
code in tab 2

For any cart processing that cares about code tabs, this is easy to manage with just strings. It's possible for lua.py to model tabs and manage this on behalf of the client. I mention it here in case anyone wants to upvote or comment on this idea, but it's probably a low priority.

josefnpat commented 6 years ago

Keep in mind that the pico8 editor will truncate any code after the eighth tab on boot.