Akamatsu Posted March 14, 2015 Share Posted March 14, 2015 Hello guys, I'm new on Phaser and i have a little problem, how to do a projectile who follow the angle of the sprite? To be more clear i did a screenshot, i have a aircraft who can turn, and i want he shoot ahead. I found lot of tutorial which explain how to create shoot them up but it's only explain to send the projectile in 'y' , Link to comment Share on other sites More sharing options...
XekeDeath Posted March 15, 2015 Share Posted March 15, 2015 Check this example out:http://gamemechanicexplorer.com/#bullets-3 It has exactly what you want... Bullets firing in the direction the player sprite is facing... Link to comment Share on other sites More sharing options...
Akamatsu Posted March 15, 2015 Author Share Posted March 15, 2015 Thank you Link to comment Share on other sites More sharing options...
Recommended Posts