Move text on screen
Posted: Wed Sep 04, 2019 4:23 pm
Hello guys, I have a problem.
I need the text that appears on the screen to move in pixels, not tiles. The goal is to show the damage dealt to an enemy and make the damage number move up in pixels.
I can't understand yet how sgdk treats strings, but by VDP_drawtext () I can only draw with parameters x and y in tiles. Does anyone have any idea how I can do this?
Example image:
I need the text that appears on the screen to move in pixels, not tiles. The goal is to show the damage dealt to an enemy and make the damage number move up in pixels.
I can't understand yet how sgdk treats strings, but by VDP_drawtext () I can only draw with parameters x and y in tiles. Does anyone have any idea how I can do this?
Example image: