Skip to content

Generate Playdate friendly PNG (Sprite?) #1

@Templarian

Description

@Templarian

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions