K, so first off i wanna know how to make AI chase after my player sprite, and second i need to know how to stop the player from rotating AROUND a pivot point when looking towards my mouse and just rotate on the spot, much appreciated thx
You can make it face the mouse my adding the event:
System.EveryTick
->Sprite.SetAngleTowardsPosition(Mouse.x, Mouse.y)
i did that and what it does is it rotates in a wide circle around a middle pivot to look at my mouse point
Develop games in your browser. Powerful, performant & highly capable.
So what do you want it to do exactly?
It sounds like your origin point on your Sprite image is not centered. double click on the sprite that you want to look at the mouse and check where the red origin point is. It will always rotate at that point.
Zetar thx alot it worked