MCLegoMan / Perspective

Client-side features for Fabric and Quilt
GNU Lesser General Public License v3.0
3 stars 1 forks source link

more zoom options #8

Closed Nettakrim closed 2 months ago

Nettakrim commented 9 months ago

1: currently the FOV difference in each scroll is constant

2: pitch and yaw have linear changes with mouse movements

3: a change in yaw has less effect at extreme pitches

these are the 3 things i did in my mod Spyglass Astronomy that make the spyglass zoom nice to use, the first 2 are common in lots of zoom mods, im yet to see another which does the yaw correction

the code for changing mouse sensitivity is prone to being incompatible with some mods, however, since a lot of more popular zoom mods use redirects, or duplicate the entire vanilla behaviour with their adjustments, instead of modifying variables

MCLegoMan commented 9 months ago

1.3.0-alpha.3 adds logarithmic zoom adjustment, and scaled mouse movements, damage tilt, and view bobbing.

I would like to add 3. in a future update.

Thanks for the suggestions!

MCLegoMan commented 2 months ago

1.3.0-alpha.7 will contain zoom yaw adjustments :)