Page 1 of 1

rotate function

PostPosted: Sat Oct 17, 2009 10:14 am
by iammfa
Hi,
I put a ball sprite (32x32px) in the center of window (640x480px) to try make this ball look always to the mouse cursor, i know this action must contains a rotate function to rotate the sprite toward the mouse cursor, i can't find any rotate function to do that in GE script reference, is there another way to make this sprite always look to mouse cursor..?

i hope some guide..
regards
iammfa

Re: rotate function

PostPosted: Sat Oct 17, 2009 1:28 pm
by Camper1995
Well, there aren't any script functions to rotate the images in game editor, but you can rotate them with program
called Rotsprite. Find him on google.com and download him..then, just find any demo in Game Demos section on GE forum
and you will learn, how to make roation of images. If you want make that the player is rotating to mouse... So
you can use my Joe The Killer demo. ;)

Good luck,

Camper