gmuGADIG / Fruit-Punch

Unity game developed by GADIG at GMU, Spring 2024.
4 stars 0 forks source link

Camera change #210

Closed micycle8778 closed 4 months ago

micycle8778 commented 4 months ago

fix #160

Changed how the camera follows the player so it no longer causes weird stuttering issues. The camera follows the player when the player moves towards the edge of the screen. In the case of multiple players, it uses their average position.

StephenHapp commented 4 months ago

https://github.com/gmuGADIG/Fruit-Punch/assets/48258132/d678c583-1815-4886-bdd4-f22535d47ad6

I'm still having the camera jitter on the Demo level. Are the changes somewhere else or do I need to change anything to see them?

micycle8778 commented 4 months ago

@StephenHapp Are you sure you're up to date? The camera moves in a different way than depicted in your video. I changed the code that moved the camera originally, so you shouldn't need to update anything in the actual level