Chigg / CS329eCook

Toprac
0 stars 0 forks source link

Create knife weapon #2

Closed alanmms closed 7 years ago

Chigg commented 7 years ago

updated the fire function I added previously to be used for knives. I added physics to the bullets so that they angle to the pointer, improved their velocity, and centered them on the player model. I reduced the firerate to be more realistic to knives. The knife objects in phaser are still known as "bullet" which are a part of spritegroup "bullets"