eliasku / 13

Fast-action P2P multiplayer game 13 (js13k-2022)
https://iioi.herokuapp.com/
94 stars 27 forks source link

Reload mechanics #11

Closed 3kh0 closed 2 years ago

3kh0 commented 2 years ago

I made this since I saw it in the post.md file, and I wanted to make up some numbers for ammo capacity since I have played my fair share of CSGO. I added the number of rounds in each mag, the gun in CSGO it is after. I also think the user should start out with 3 mags of each. You can find ammo in the barrels, boxes, and tombstones. Picking up one thing of ammo (๐Ÿ’Š can be used as the icon) will grant you one more mag of ammo for your current weapon (30 more bullets for the machine gun, 7 more for the pistol, etc). Having more than 1 type would get confusing.

Example bullet info on the HUD: ๐Ÿ–Š 30/90 this would be right where is displays the weapon you are currently holding

๐Ÿ”ซ Pistol 7 desert eagle ๐Ÿ–Š Machine-gun 30 ak ๏ธโœ๏ธ Heavy machine-gun 30 m1a4 ๐Ÿชฅ Shotgun 7 XM shotgun โ› Crossbow 20 scar-20 ๐Ÿ”Œ Plasma-gun 35 m1a4s ๐Ÿงต Rail-gun 1 awp

3kh0 commented 2 years ago

The times of the reload time should also be taken from CSGO, since it is balanced

eliasku commented 2 years ago

I add initial mag reloading concept, but with infinite ammo currently

3kh0 commented 2 years ago

I like the idea of that. Since the pen is overpowered with no reload

eliasku commented 2 years ago

I think new [R] - reload button would be nice! If you are noob you will lose all your magazines in case you do expensive early reloads. It depends on your decision to be ready or safe ammo magazines :)

eliasku commented 2 years ago

Reload button added as well