Generate Playdate friendly PNG (Sprite?)
Need developer input to figure out the best format to package these for Playdate. For microcontrollers we package in a sprite map and then import via a mapping that can be used.
Ex:
-
export const IconAccount = [source, 22, 1, 2]; - The array is then used as...
<image resource>, <size>, 1 * <size>, 2 * <size>.
Looking at the docs it's expecting a .png file. So the question is what is the easiest format to bundle this mapping / image?
Got a reply in the reddit thread.
Will use the memory-table-22-22.png naming format to make a sprite map then make a file with the mapping.
Done with example. https://github.com/Pictogrammers/Memory/tree/main/playdate

If anyone knows C as the docs say let me know what that should look like.