I created an enemy that's meant to stop moving and aim at the player then dash at the player without aiming itself at them. I'm able to make the enemy dash and stop moving to aim at the player but once the enemy moves they always either go left or right. How can I make them go forward to where they were aiming?
Develop games in your browser. Powerful, performant & highly capable.
To answer this question we need more information..
to answer the title of this topic:
there is an action set bullet angle of motion, there is an action set bullet speed..
Is there a way to set that angle towards a player rather than just an angle?
set angle = angle(bullet.x,bullet.y,player.x,player.y)