Get the angle between 2 objects in Phaser

Something that has been very useful for me lately is to be able to get the angle between two objects or get the angle between the mouse and a central character. For example in a game with a spaceship where you want to click and fire, you need to know the angle to be able …

Get the angle between 2 objects in Phaser Read More »