0
votes
2answers
291 views

how can I move an actor in opposit direction of mouse's position in GameSalad?

I have a moving actor named ball and I want to move it in the opposite direction of my mouse's position. In my code in Move To behaviour for X-axis location I write -game.mouse.position.X and ...
0
votes
2answers
735 views

How to move the ball in straight line in gamesalad?

I have an actor named ball and I want to move it in a straight line which is created by actor ball's X and Y coordinate and cursor's X and Y coordinate. I have Move To behavior in gamesalad but I ...