
Publisher
cng6sk
Godot 2D Top Down Camera
A smooth, feature-rich top-down camera plugin for Godot. Effortlessly pan and zoom your 2D game scenes with intuitive controls and configurable boundaries. Ideal for strategy and simulation games, with camera controls inspired by titles like Hearts of Iron and Stacklands. Main Features - Smooth Cursor-Centric Zoom & Pan Seamlessly zoom in and out towards the mouse cursor, with smooth camera movement and interpolation for a polished feel. - Visual Boundary Configuration Easily set and visualiz...
Godot-TopDown-Camera2d
A smooth top-down camera solution with pan and cursor-centric zoom. Features include mouse cursor-based zooming, boundary limits, and smooth transitions using interpolation.
Installation
Install from the AssetLib or download archive from Github releases and extract addons
directory to your project directory.
Activate plugin in Project
→ Project Settings
→ Plugins
Usage
After activating the plugin, add a new "TopDownCamera2D" node to your scene.
Configure input actions in
Project
→Project Settings
→Input Map
:- Add a
drag
action - Add a
zoomIn
action - Add a
zoomOut
action
- Add a
Configure the camera properties in the Inspector panel.
Make the TopDownCamera2D node current to use it as the active camera in your scene.
Features
Smooth Cursor-Centric Zoom and Pan
Visual Boundary Configuration
Other Feature
- Edge Scrolling: Automatically pan the camera when the mouse cursor approaches the screen edges.
- Keyboard Control: Support for keyboard inputs to pan.
Planned Features
- Touch Controls: Add pinch-to-zoom and drag-to-pan functionality for mobile devices.