Hi list...
I have a character in a game I'm fiddling with that moves with the mouse when the user
drags it with the mouse button pressed. I want it to 'look' in the direction it's
going. Currently, I have 8 cast members (for 8 basic directions) and am swapping them
based on the following. The script stores the mouseloc on EnterFrame and Exitframe and
then works out what has changed ( +/- of x and/or y coords ) to decide which direction
it's going and hence which cast member should be shown.
Thing is, it's not great and I was wondering if anybody had any ideas for making it
better (or how you would do it). The character is a little ball, much akin to the
character in Putty on the Amiga. His eyes face the direction that he's being dragged.
Any help/ideas/suggestions?
Leon
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]