Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser
Quick Information
To obtain 2.x version, see repository 2.x branch.A RTS like Camera2D with move options by:- right mouse button- move mouse to edge of screen- keys (InputMap)Additionally possibility to zoom in/out by mouse wheel.How to use:- add node RTS-Camera2D- check `Current` to true- check exports which one you want
RTS Camera2d :movie_camera:
RTS Camera2d plugin adds simple camera node to Godot Engine. You can control camera using arrow keys, by dragging while holding mouse button or by moving mouse cursor near to the screen edge. Despite the name, this node can be useful in any game genre, not only RTS :wink:
Installation
Use AssetLib or download archive from Github releases and extract addons
directory to
your project directory. Activate plugin in Scene > Project Settings > Plugins
Usage
Create RTS-Camera2D node on your scene. Make sure to check the Current
property on
in inspector. You can adjust behavior of the node using following properties
Property | Usage |
---|---|
Key | Move camera using keys binded to ui_* actions) like |
Drag | Move camera using mouse (right mouse button by default) |
Edge | Move camera when cursor is close to edge screen |
Wheel | Zoom in/out using scroll wheel |
Zoom Out Limit | How far you can zoom out |
Camera speed | self-explanatory |
Camera margin | how near to the window edge (in px) the mouse must be to move a view. |
Compatibly
This plugin was tested in Godot Engine v2.1.3 (2.x banch) and v3.0 beta 1 (3.x branch).
To obtain 2.x version, see repository 2.x branch.
A RTS like Camera2D with move options by:
- right mouse button
- move mouse to edge of screen
- keys (InputMap)
Additionally possibility to zoom in/out by mouse wheel.
How to use:
- add node RTS-Camera2D
- check `Current` to true
- check exports which one you want
Reviews
Quick Information
To obtain 2.x version, see repository 2.x branch.A RTS like Camera2D with move options by:- right mouse button- move mouse to edge of screen- keys (InputMap)Additionally possibility to zoom in/out by mouse wheel.How to use:- add node RTS-Camera2D- check `Current` to true- check exports which one you want