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

feat: Sprites should be able to be destroyed #79

Open
mflerackers opened this issue May 31, 2024 · 1 comment
Open

feat: Sprites should be able to be destroyed #79

mflerackers opened this issue May 31, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@mflerackers
Copy link
Member

For a small game, this is not an issue. However for a larger project, one might want to delete sprites which are no longer used to reduce memory usage. An example would be a splash screen, which is only used once in the beginning, or a tile-set only used in a particular environment.

@mflerackers mflerackers added bug Something isn't working enhancement New feature or request labels May 31, 2024
@mflerackers mflerackers self-assigned this Jun 12, 2024
@lajbel lajbel added this to the 4000 milestone Aug 22, 2024
@amyspark-ng
Copy link
Contributor

would this allow for re-load sprites in the same name? So you can load sprites at the start and then change the path thus changing the sprite but with the same name

@lajbel lajbel moved this from TODO to WIP in KAPLAY.js Features Jan 20, 2025
@lajbel lajbel removed the bug Something isn't working label Jan 21, 2025
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
Status: WIP
Development

No branches or pull requests

3 participants