Devlog 4:
- Added Animations for the mantle system
- Fixed Bugs
- fixed issue of ledge grabbing system not being reset after each use making the player snap back to first ledge
- there is an issue where if the player is walking when pressing space to grab ledge they will float away
Adding Ledge Mantle
This week I have added ledge mantle up feature which allows the player to climb up ledges after grabbing onto them. This feature also skips the ledge grab if the ledge is low enough and goes straight into climbing the ledge and moving the player on top of the object. Before hand when the player got into the ledge grabbing they were not able to get back out of the mode, adding ledge climbing allows for the player to get on top of the ledge and allows for them to get out of this mode.
When I was implementing this mode I had an issue where the ledge grabbing vars were not being reset after each climb so if the player went to jump even though there wasn't a ledge to grab onto it would snap back to the first ledge grabbing position. I was able to fix this by adding a block of code which reset the vars once the climb was completed and if there wasn't any ledge available to climb.
However, when adding the ledge climb up animations there was an issue with the animations positions and to makes the player do a mid air climb up bug. though the code works as expected, the animation isn't set up properly and will need to be fixed
Comments
Post a Comment