SamTheBlow / grand-strategy-game

A grand strategy game made in Godot.
MIT License
7 stars 4 forks source link

Unexpected camera behavior when zooming near world border #118

Closed SamTheBlow closed 10 months ago

SamTheBlow commented 10 months ago

When zooming near the world border, the camera gets pushed away from the border and does not end up at the expected position.

I suspect this is caused by the Camera2D class moving the camera's position in bounds too early, but I'm not sure.