I'm trying to create a bullet fired by the player's character and following the enemy, is it possible? How can i do this?!
--angle to enemy's position (i don't remember about angle expresion)
did not work =/
<img src="http://hugoluigi.com/bulletfollower/events.gif" border="0" />
Set Bullet angle of motion to angle(bulletFollower.X, bulletFollower.Y, target.X, target.Y)
Develop games in your browser. Powerful, performant & highly capable.
My god, man, it worked.
Thank you :)