Description
Changelog
Reviews (3)
Exported properties:
zoom_factor(multipliesCamera2D.zoomeach mouse wheel scroll)zoom_min(minimumCamera2D.zoom)zoom_max(maximumCamera2D.zoom)zoom_limited(iftrue,MapCamera2D.zoom_minis effectively increased to stay within limits)zoom_relative(iftrue, mouse zooming is done relative to the cursor)zoom_keyboard(iftrue, zooming can also be done with the plus and minus keys)pan_speed(adds toCamera2D.offsetwhile the cursor is near the viewport's edges)pan_margin(maximum number of pixels away from the viewport's edges for the cursor to be considered near)pan_keyboard(iftrue, panning can also be done with the arrow keys)drag(iftrue, the map can be dragged while holding the left mouse button)drag_inertia(multiplies the final drag movement each second)
Video: https://www.reddit.com/r/godot/comments/wjc2c2/i_made_a_mapcamera2d_script_for_smooth_scrolling/
Changelog for version v1.0.0
No changelog provided for this version.