Log In  


Sometimes, especially when working with animations, I prefer using GraphicsGale than Pico's internal editor. So I'd be glad if I could copy/paste sprites to/from standard image editing programs. As of how palette thing would work when pasting, if pixel is "unknown" (not in pico's palette), color with closest r/g/b values from palette would be used.

So e.g. if I have some pixels that are totally blue (#00FF00), when pasting those pixels will be changed to closest color in pico's palette which is 1 (I think) in this case.

Alternatively import/export of spritesheet from/to png file would be welcome, with same color conversion process when importing as when proposed pasting.



Importing / exporting .pngs is in for 0.1.4 and does a palette match on import.


1

<3

like tears...in...rain


Ooooohhhhhh! how far off is 0.1.4? ;)


...what went with this feature? I never heard anything of importing .png ever again, or did I overseen something?


import("file.png")

Simple as that - use it often to do editing in photoshop and reimporting the sprite map...


It's in the manual:

To import or export the spritesheet as a .png:

import("blah.png") -- expects 128x128 png and colour-fits to the pico-8 palette
export("blah.png") -- use folder() to locate the exported png


OT: Just have to give matt props for getting the quote right. :)


I write a little tool, that converts .png to .p8 (not using the map).
https://www.lexaloffle.com/bbs/?tid=3718


what directory are you peeps saving your file to import in? :)

edit: just used folder()



[Please log in to post a comment]