.006 Added Melee Weapon


--------------------01.09.24--------------------

v added first Melee Weapon Bonecrusher


Now, this was harder than expected. Making Ranged weapons work in a rotation was quite easy, because as soon as the cooldown for a ranged weapon runs out, 3 things happen at the same time:

The Projectile is instantiated and starts its life cycle
The ranged weapon deactivates
The next weapon actives and starts counting down its own cooldown

With Melee Weapons, things are more complicated. Because the weapon needs to make a thrust into the enemy first, I cannot immediately deactivate it. And because of this, the next weapon has also to wait, until the attack animation runs its course. Also the attack animation cannot be faster in a 6-weapon-rotation than in a 1-weapon-"rotation". So I had to use 2 different cooldown calculations.

It took some time, and I'm not happy with the result. I'd like to make some more changes to the animation and the way melee weapons work. And hopefully after that I will be happy. And then I will tell you about it. Stay tuned and give me some ideas for more custom game modes.

Files

006.zip 13 MB
16 days ago

Leave a comment

Log in with itch.io to leave a comment.