This content has been marked as final. Show 5 replies
find the angle between the character and the screen center (which is the Math.atan2(character._y-Stage.height/2,character._x,Stage.width/2) ) and move your character by using a loop and incrementing his _x and _y properties by Math.cos and Math.sin of that angle converted to degrees.
I wish I knew what all that means but I guess I will have to :-)
Thank you very much Kglad
OMG you just made my life so much easier.
Im going to try this code out right away.
Thank you sooooooo much!
P.S. I looked at you website it is really cool.