SebLague / Geographical-Adventures

https://sebastian.itch.io/geographical-adventures
MIT License
3.41k stars 492 forks source link

Support for map zooming with mouse wheel #60

Closed Pattrigue closed 2 years ago

Pattrigue commented 2 years ago

The map is very intuitive to use but I think zooming between fixed values using a toggle button feels off, at least on PC.

I have kept the zoom button for now and its state automatically updates when you've zoomed all the way in or out with the mouse wheel, however, I think it would be best to only show the button on touch devices (if you plan on making the game compatible with phones/tables).

https://user-images.githubusercontent.com/57709490/167035039-2c5b1316-2172-4a29-b8bb-8f4703b39056.mp4

SebLague commented 2 years ago

Looks good, thanks. I'll merge this, and then probably remove the button + change to use new input system so zoom works with gamepad as well.