Devlogs
Tweaking some issues | Prototype 1 Runner
Posted April 02, 2024 by Arnz
After recording & uploading the first video, realised a couple of issues to iron out which have been fixed:
- Score would stay between ending the level and replaying, this was fixed by adding a ResetScore function to set the value of the score to 0 once either of the game types have been loaded.
- Not all of the player would collide with the obstacles, this was fixed by removing a character controller and replacing with a box collider, the script has been modified to move the player with transform.translate, rather than character controller.move.
Then after recording the second video, I realised one more thing!
- After the final level (after playing level by level), it jumps straight to the endless runner level, this isn't quite what I want to happen so I have changed it so upon completion you see a new end scene!
Finally there's one more thing that needs to be done!
- Make sure the score (boxes text) persists between each level/scene and shows up in the end level/scene.