Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Sprite Rotate

Author
Message
Monzi
20
Years of Service
User Offline
Joined: 10th May 2004
Location: Denmark
Posted: 22nd Jun 2004 17:19
When rotating a sprite it always rotates around the top-right corner of the sprite. Isnt there some way to set it to rotate around another point?

- b00h
Lampton Worm
22
Years of Service
User Offline
Joined: 4th Sep 2002
Location: United Kingdom
Posted: 22nd Jun 2004 19:54
Hi,

Yes, you need to use the offset sprite command to set the offset to the middle. So, if your sprite/image is 32x32, offset the sprite by 16, i.e. half.

Hope it helps,
Cheers.
Monzi
20
Years of Service
User Offline
Joined: 10th May 2004
Location: Denmark
Posted: 14th Jul 2004 10:43
Ah thank you LamptonWorm

Tiny Kitten Software -
http://monz.adsl.dk/tks/

Login to post a reply

Server time is: 2024-09-22 16:29:34
Your offset time is: 2024-09-22 16:29:34