Week 9 - Adjusting Weapon's Ammo and Grenade Explosion
- Patrick Sharpe
- May 8, 2021
- 1 min read
In this week, there isn't a a whole lot to discuss as I wasn't too focused on this module and I took a break for a small bit to recover from the overload of work due. Nevertheless, I fixed some animations issues to stop the player from being able to shoot during a reload animation. this issue was in my last game project and now that I've fixed the issue, i will be able to fix the issue with no problem.

I've also made a cool function that changes the speed of the reloading animation depending on the gun so it can also allow me to reload with a different animation and it will work completely fine.

I started adjusting the weapon's ammo when using working with UI and shooting variables, here is a screenshot of how well presented the scripting logic is laid out.

Lastly is a video of how the new and improved grenade reacts to other explosive objects.
Comments