kaplay
kaplay copied to clipboard
feat: Sprites should be able to be destroyed
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.
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