Skip to content

Delete sprite or not ? #1943

Answered by Bodmer
sbonaime asked this question in Q&A - Sprites
Discussion options

You must be logged in to vote

The answer depends on the detail in your implementation. If you have lots of RAM available then a full screen Sprite may be possible. It is also possible to re-use a sprite for different areas of the screen. If you are near to memory limits then creating and deleting sprites repeatedly can lead to memory fragmentation.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sbonaime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants