Infinite Mantling Bug


Author: Vrij Patel


Issue: 

In the game, you were able to spam Space to start mantling infinitely and after mantling sometimes you would fall, instead of being on top of the block. While the infinite mantling was a bug produced by spamming space, the other one was produced by every mantle block making testing frustrating when you try to mantle onto a block. 


Solution:

After doing some debugging I found out that the movement state of the character was not resetting after the mantling process was done. So that problem was an easy fix. The falling after mantling problem was also an easy fix, I hardcoded the offset from the ledge to the target capsule location, so if the capsule was to shrink or get smaller it would not match that offset, so I just made it to where designers can play around with the value and that simple fix solved the bug. 

Leave a comment

Log in with itch.io to leave a comment.