Rotate Image
Posted: Sat Apr 01, 2023 8:27 am
How can I draw an image with rotation?
I'm trying to use StartDrawing(SpriteOutput(0)) as in game coding call render to texture, so I could transform this texture whenever I want.
But sadly I cannot draw a sprite in another sprite output. I try to drawImage in it, but draw image has no rotation.
This is very limited for game. It is nice if we can do anything in SpriteOutput like on openscreen
I'm trying to use StartDrawing(SpriteOutput(0)) as in game coding call render to texture, so I could transform this texture whenever I want.
But sadly I cannot draw a sprite in another sprite output. I try to drawImage in it, but draw image has no rotation.
This is very limited for game. It is nice if we can do anything in SpriteOutput like on openscreen