rotate function

Non-platform specific questions.

rotate function

Postby iammfa » Sat Oct 17, 2009 10:14 am

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
iammfa
 
Posts: 4
Joined: Tue Oct 06, 2009 5:31 pm
Score: 0 Give a positive score

Re: rotate function

Postby Camper1995 » Sat Oct 17, 2009 1:28 pm

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
Say hello to my little friend.
User avatar
Camper1995
 
Posts: 707
Joined: Tue Dec 30, 2008 7:20 pm
Location: Lost in the past.
Score: 44 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron