Devlog 5: Bug Fixes
Devlog 5: Bug Fixes
Project: Mini Project - Climbing System
Objective: Fix bugs related to the ledge grabbing not resetting correctly
Progress and Observations:
- Fixed an issue where the ledge grabbing wasn't resetting the variables correctly after each climb.
- Had to trace my code to find where I had not assigned my variables correctly.
- I had missed a part of code from the tutorial, so I added my own code to fix this bug.
- this bug caused the player to snap back to he initial ledge position when attempting to jump even if there wasn't a ledge present.
- The fix was done by adding a code block to reset the vars upon a climb has been completed and when there isn't a ledge available.
- This is the code which I implmented myself.
- I also fixed other small bugs which I found when implementing this.
Next Steps:
- Keep testing to check for bugs with the ledge grabbing and mantle systems.
- Begin to address the float away bug.
Challenges/Notes:
- Debugging ledge grabbing not resetting correctly
- it was necessary to add my own code which fixed this issue.
Reflection:
- This debugging experience showed the importance of variable resetting.
Comments
Post a Comment