Entry 9:
Making the scare more fluid and adding obstacles
So today we added some obstacles and made the scares more fluid. That information can be found in this video
Additionally we encountered a bug where the camera would be extremely jittery at the maximum zoom.
What we found out was that it was because the position of the camera was being dictated by both the code and the the fact that the camera was a child of the character moving around. So instead we had to fix it so that the camera could follow the character around without keeping it as a child of the character itself. We used the x and y values of the player at rest position and added and subtracted to give the correct position to the camera.