Jump to content

A good weapon system?


Recommended Posts

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.


Beretta = {

firerate: 1

clipsize: 9

clips: 3

velocity: 200

vertical_angle_variance: 2

bulletDamage: 10


How would I achieve this in Phaser?

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...