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

Optimisation: improve handling of custom wizard sprites #8

Open
lewster32 opened this issue Dec 5, 2021 · 0 comments
Open

Optimisation: improve handling of custom wizard sprites #8

lewster32 opened this issue Dec 5, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@lewster32
Copy link
Owner

Currently every wizard gets their own canvas-backed texture which blits a copy of the wizard template, alters the colours then appends the hat (if relevant). This could be improved in several ways:

  • Append all generated wizard images to a single, shared texture atlas
  • Completely ditch generated colour modification in favour of shader (a la the outline highlighting effect) with hats as 'child' sprites

The latter seems like it'd be the more efficient of the two, and allow for more flexibility.

@lewster32 lewster32 added the enhancement New feature or request label Dec 5, 2021
@lewster32 lewster32 self-assigned this Dec 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant