Delete sprite or not ? #1943
Answered
by
Bodmer
sbonaime
asked this question in
Q&A - Sprites
-
Beta Was this translation helpful? Give feedback.
Answered by
Bodmer
Aug 2, 2022
Replies: 1 comment
-
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. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sbonaime
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.