Hello.
I am wondering how I can make a top-down character dash in the direction of the mouse crosshair like Hyper Light Drifter.
Thank you for reading this.
With move to behavior attached to your character
every tick -> move to mouse.x mouse.y.
For speed you can choose the one fit your requirements at move to behavior.
Thank you savvito123. I really appreciate it. Is there any way that i can make it so that i can make my character dash at a specific image point? I tried something but it's not working out.
ImagePointX and ImagePointY need an argument, the index of your sprites image point.
So
Sprite.ImagePointX(0)
Sprite.ImagePointY(0)
Develop games in your browser. Powerful, performant & highly capable.
Thank you! It is working.