Hi all,
So I'm doing a 2D shooter and at the moment I have it so a bullet is fired from my gun. However, I want a much better system for this where I can fully define a weapon and its parameters.
Eg:
Beretta = {
firerate: 1
clipsize: 9
clips: 3
velocity: 200
vertical_angle_variance: 2
bulletDamage: 10
}
How would I achieve this in Phaser?