Create actor -->Follow Mouse Question

Non-platform specific questions.

Create actor -->Follow Mouse Question

Postby Just4Fun » Sun Feb 29, 2004 4:24 am

I would like to initially create my Actor at x=3, y=136.

After a "key Down" Event, I would like my Actor to" Follow Mouse".

When I try this using "Create Actor" or "Draw Actor", the Actor will not "Follow Mouse". The Actor stays at the initial position and will not move with the mouse.

What am I doing wrong? :?:

TIA
I've learned that I still have a lot to learn.

** Makslane == Genious **
Just4Fun
 
Posts: 524
Joined: Tue Jul 01, 2003 5:19 am
Location: USA: Washington State; West Coast
Score: 6 Give a positive score

Postby makslane » Sun Feb 29, 2004 12:37 pm

??

Is very simple:

On Key Down:
Follow Mouse (Event Actor, both)


And your actor will be placed on mouse location
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby Just4Fun » Sun Feb 29, 2004 5:03 pm

Perfect! Thank You. :lol:
I've learned that I still have a lot to learn.

** Makslane == Genious **
Just4Fun
 
Posts: 524
Joined: Tue Jul 01, 2003 5:19 am
Location: USA: Washington State; West Coast
Score: 6 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest