Canvas Project - rotating images?
Posted 30 July 2017 - 05:14 AM
TCanvasProject = class(TW3CustomGameApplication)
I figured that this would be the best solution to make a game. However, I am running into some annoying limitations.
I have my player image
FImgPlayer : TW3Image;
And I draw it to the canvas using the handle
idx*49, 0, 49, 49,
Now the problem..
I would like to draw a rotated version of the image. I have checked as much as I could and I cannot find any draw functions that allow rotation.
So am I missing something? How do I draw a rotated version of the image?
Or it is there better solution for making games that allow the flexibility requited to scale and rotate images/sprites?
Are there any demos that show this?
Posted 30 July 2017 - 12:30 PM
> could and I cannot find any draw functions that allow rotation.
> So am I missing something? How do I draw a rotated version of the image?
> Or it is there better solution for making games that allow the flexibility
> requited to scale and rotate images/sprites?
Try TW3Sprite from SmartCL.Sprite3D unit. Also take a look at contents demos and games demos inside SMS demos, they are all some kind of games so they'll probably can give you some clues.
Posted 30 July 2017 - 12:53 PM
Otherwise these posts may help :
- Czar likes this
Posted 31 July 2017 - 11:44 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users