sloukit / pydew-valley-uzh

Mod of Pydew Valley for an experimental study in Psychology
Creative Commons Zero v1.0 Universal
32 stars 61 forks source link

Fix Bug : Player camera zooming in cinamatic zoom areas near lake #188

Closed ZedKay52 closed 1 month ago

ZedKay52 commented 1 month ago

This pull request is hopefully a fix to a bug presented in the issues section #142 by @DangerousVanilla. -- Approach Added a condition to the zoom manager "update" method to let only the scene animation object to zoom (Hope that is true). To achieve this, I provided a "zoom_allowed" attribute to both the Player and the SceneAnimation class.

-- Test with formatlint.py I tested the game with formatlint.py and it worked !