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.

Dark GDK / Rotating a sprite

Author
Message
Wizz
15
Years of Service
User Offline
Joined: 27th Apr 2009
Location:
Posted: 24th Jun 2009 01:14
Hi i'm a total begginer.

I have a problem with rotating a sprite. When it rotates for...say 90° it also changes position. It rotates from the corner not from it's center of gravity. how do i change that?
Lilith
16
Years of Service
User Offline
Joined: 12th Feb 2008
Location: Dallas, TX
Posted: 24th Jun 2009 03:51
dbOffsetSprite();

Lilith, Night Butterfly
I'm not a programmer but I play one in the office
Wizz
15
Years of Service
User Offline
Joined: 27th Apr 2009
Location:
Posted: 24th Jun 2009 16:32
Thank you!

Login to post a reply

Server time is: 2024-10-01 06:01:15
Your offset time is: 2024-10-01 06:01:15