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 / center of rotation

Author
Message
m2design
14
Years of Service
User Offline
Joined: 25th Mar 2010
Location: Seattle area
Posted: 28th Mar 2010 07:13
I can not find a command that will allow me to rotate a sprite or image around it's center.All my rotations appear to pin the radius of rotation to the upper left corner of the sprite or image.

note:to be used in a 2d program

Thanks
luskos
17
Years of Service
User Offline
Joined: 28th Jun 2007
Location:
Posted: 28th Mar 2010 08:10
http://forum.thegamecreators.com/?m=forum_view&t=16471&b=4
Here is the solution.

Where there is a will, there is a way.
I often edit my posts, that`s who i am
m2design
14
Years of Service
User Offline
Joined: 25th Mar 2010
Location: Seattle area
Posted: 29th Mar 2010 08:30
Sprite Rotation.
luskos;
Thank you for the solution.
Believe it or not I had tried the offset command and it did not work.Why not? Because I had it in the code sequencs - dumb me!
Thanks again for the help.

Login to post a reply

Server time is: 2024-11-16 12:09:33
Your offset time is: 2024-11-16 12:09:33