Hey there
I am not exactly new here, but it's kind of a newcomer question, I think.
I have a sprite which moves via SetSpritePhysicsVelocity() to the mouse position when I left click (or hold).
Currently the speed at which the sprite moves is dependant on how far away the mouse is.
How can I make it so the sprite always moves at the same speed no matter how far away the mouse pointer is?
Here is a video showcasing my problem:
https://youtu.be/R2ECjS7rbL4
This is my code to move the sprite (i_spr_player is the ID of the player sprite):
SetSpritePhysicsVelocity(i_spr_player, GetPointerX() - GetSpriteXByOffset(i_spr_player), GetPointerY() - GetSpriteYByOffset(i_spr_player))
~ Daniel
Yes, I am aware that I sound like a caveman to native english speakers
