MaterialFoundry / LockView

Foundry VTT module: Locks the view for the purpose of using Foundry on a digital playmat, such as a horizontally mounted TV. Scales the scene so the gridsize is always displayed corresponding to a real-world size, and can block zooming and panning
15 stars 7 forks source link

[FEATURE] Limit zooming & paning outside of Bounding Box #111

Open ZeroXNoxus opened 9 months ago

ZeroXNoxus commented 9 months ago

Describe the solution you'd like I currently want to set my scenes up like this: Bounding Box -> Enabled, Paning & Zoom ->Enabled. My issue with this setup is, that it only works with perfect scene dimensions relative to the screen.

I want to use my vertical TV to display what is going and want my players to be able to pan within the Bouding Box, but zoom out until they meet the highest boundry (if width is the widest size of the scene, cap to width, otherwise cap to height) of the scene. This is to enable the players to either view the full scene and get the full overview of the map or look at certain areas in more detail.

I'd love a sollution for this, as this would allow for more detailed views on a large map or battlefield, while also providing a tactical overview. Would this be possible?