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

add glyphs in a spritesheet #13

Open
mk30 opened this issue Feb 15, 2021 · 2 comments
Open

add glyphs in a spritesheet #13

mk30 opened this issue Feb 15, 2021 · 2 comments

Comments

@mk30
Copy link
Collaborator

mk30 commented Feb 15, 2021

this includes having to figure out how to include a custom spritesheet

@mk30
Copy link
Collaborator Author

mk30 commented Sep 29, 2022

it is now possible to include png images as sprites, so that different sprites are matched to different feature types.

screenshots:

screen1494

screen1493

@mk30
Copy link
Collaborator Author

mk30 commented Oct 3, 2022

bugs to investigate:

  • png's without an alpha layer don't render properly
  • error message when user tries to include non-png's in stylesheet
  • png's with bw color profile may not work properly
  • preserve sprite aspect value
  • sprites may be horizontally flipped
  • bugs if sprite block is wider than features block
  • transparency is mostly fixed, but there are render order bugs:
    screen1509

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant