Moving character to mouse
![cibram](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
Hi all,
I am moving my character to Mouse Position X & Y, it is ok but whenever it reaches to the mouse it is stopping, after that when i move the mouse away again it is only rotating but not moving anymore.
How can i fix this? I want her to move always!
I am moving my character to Mouse Position X & Y, it is ok but whenever it reaches to the mouse it is stopping, after that when i move the mouse away again it is only rotating but not moving anymore.
How can i fix this? I want her to move always!
Best Answer
-
The_Gamesalad_Guru Posts: 9,922
If it's a game for mobile device it's best to make a button for shooting. If it's for computer use a key like spacebar.
Answers
for moving i am simply using Move To mouse x and y - did what you said at your tutorials
because i am gonna use "mouse is down" for something else (she will shoot)
i tried to trigger it with mouse xy not equal to self xy , but still it is stopping when the mouse comes on it (yes it is moving again but something is wrong i am moving the mouse in and out of her to make her move again)