Akamatsu Posted March 14, 2015 Report 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' , Quote Link to comment Share on other sites More sharing options...
XekeDeath Posted March 15, 2015 Report 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... Quote Link to comment Share on other sites More sharing options...
Akamatsu Posted March 15, 2015 Author Report Share Posted March 15, 2015 Thank you Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.