What I mean is that when the player reaches 100 points, he would be able to choose between two guns, and I want it to do different damage.
For example: Normal zombie HP: 50
Pistol damage: 10hp
SMG damage: 20hp
Sniper damage: 50hp
I also want to add ammo to each gun, can someone help?
Use variables and if statements to determine which weapon is being used and how much damage it deals with.
Please take a look at the example project:
Inspect the code, and you will see.
Wut da hail is that username bro
4 Likes
Alright, I got it.
Now all I need is the player to reload when the magazine gets empty, configurate the fire rate for every gun and just put rarity on guns (Like lower chances to get a gun that does lots of damage on the shops)
Here is the link of my game, I want it to spawn new enemies depending on the level, and all of the ammo, fire rate and stuff.