Hi,
I currently have a custom movement Touch event using Touch.X and Touch.Y where my player accelarates towards the mouse/finger if it's on mobile. Is it possible to make it so the player character moves in the opposite direction of my touch? E.g. If I touch below the player then it'll move up and touching left will move it right. I've already tried -Touch.X and -Touch.Y without much luck.
I've added my current event below if that helps.
Thanks,
Himesh
Have you tried -600? I think that could work but I haven´t tested it.
Develop games in your browser. Powerful, performant & highly capable.
Brilliant! That seems to have done the trick. Thanks for the fast reply. I spent ages trying to figure it out when the solution was as simple as that.