Open pancelor opened 4 months ago
the docs ought to emphasize: this is an odd use case! if you're working on your game long-term, then after converting it via p8x8 you should try to slowly(?) convert it over to "real" picotron code. zep's done a lot of work to make things familiar and mostly work, and I've documented some of the API differences in the polyfill files. The manual exists now too
the native picotron functions (e.g. fetch
, userdata
, spr
) are all available on the p64env
table, so you can incrementally introduce picotron code into your pico8 code like this: local filecontents = p64env.fetch("/file/path")
. At the end when you're ready to make the switch entirely into picotron:
include("p8code/1.lua")
p64env = _ENV
(or delete all references to p64env)when I used your importer, my sfx workspace was blank and it's not calling sfx. Is this an instance where I'd use fetch or include in main.lua?
that worked, cheers!
https://www.lexaloffle.com/bbs/?pid=145012#p
write some docs:
mkdir folder
cp -f my-converted-cart.p64 folder
folder/baked/
into your cart