Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate Playdate friendly PNG (Sprite?) #1

Open
Templarian opened this issue Aug 25, 2022 · 3 comments
Open

Generate Playdate friendly PNG (Sprite?) #1

Templarian opened this issue Aug 25, 2022 · 3 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@Templarian
Copy link
Contributor

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?

@Templarian Templarian added enhancement New feature or request question Further information is requested labels Aug 25, 2022
@Templarian
Copy link
Contributor Author

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.

@Templarian
Copy link
Contributor Author

@Templarian
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant