godot-wildlings / cyberpunk-jam-2019

https://itch.io/jam/cyberpunk-jam-2019
MIT License
2 stars 0 forks source link

gun sometimes shoots from above your head if you press F rapidly #40

Closed plexsoup closed 5 years ago

plexsoup commented 5 years ago

Player can make the gun fire again, even while it's reloading or running the holster animation. Bullet comes out wherever the muzzle is. Sometimes it's at the character's feet.

plexsoup commented 5 years ago

I reversed the direction of the rotating arm, so it sometimes shoots from overhead now. Still needs a reload timer, or just not permit attacking if you're already in the "attacking" state.

plexsoup commented 5 years ago

solved with a 0.25s reload timer