Skip to content
Discussion options

You must be logged in to vote

It is possible using sprites but is a rather complicated process. Essentially you create 2 sprites, sprite 1 has a copy of the background area the text occupies, sprite 2 is the same size.
The background is drawn in sprite 1 with the necessary offsets to capture the correct area. When the number is to be drawn, sprite 1 is copied to sprite 2 and the number drawn in sprite 2, sprite 2 is then copied to the screen with the correct offsets.

Replies: 1 comment

Comment options

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