Godot 2D Top Down Camera

by cng6sk

8

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 ProjectProject SettingsPlugins

Usage

  1. After activating the plugin, add a new "TopDownCamera2D" node to your scene.

  2. Configure input actions in ProjectProject SettingsInput Map:

    • Add a drag action
    • Add a zoomIn action
    • Add a zoomOut action
  3. Configure the camera properties in the Inspector panel.

  4. 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

Image

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.

Version

1.2.2

Engine

4.4

Category

2D Tools

Download

Version1.2.2
Download

Support

If you need help or have questions about this plugin, please contact the author.

Contact Author