Main Menu

Sprite rotation

Started by basil99, July 22, 2008, 12:29:09 PM

Previous topic - Next topic

basil99

A really newbie question

Assume, I have a sprite SpriteIndex with SpriteWidth and SpriteHeight

How I can rotate it x degrees CW or CCW, having in mind I have a rotation center at

X + SpriteWidth/2, Y + SpriteHeight/2

where X and Y  - some screen positions ?

Thanks in advance, and hope it in manual already, so you can point my head onto the proper page

Free Games Site - http://vespacrabro.com

kevin


basil99

No, SpriteHandle. Got it
Free Games Site - http://vespacrabro.com