CameraRegion2D
by iniberas
9
CameraRegion2D
A simple Godot addon for managing Camera2D
transitions and behaviors using defined regions. Easily add camera transitions, shake effects, and region-specific configurations to your game.
Installation
- Download or clone this repository.
- Copy the addon folder into your project's
addons/
directory. - Enable the addon in your Godot project via Project Settings > Plugins.
Usage
- Add a
CameraRegionController2D
node to your scene. - Add
CameraRegion2D
nodes as children of theCameraRegionController2D
to specify the regions. - Assign the
target_node
(e.g., the player) and thecamera
to theCameraRegionController2D
. - Customize transitions using the
CameraTransition
resource. - Optionally, connect to signals such as
target_entered_region
orshake_started
for further control.
Note:
Methods and variables prefixed with _
are considered private and should not be accessed outside their source code.
License
This project is licensed under the MIT License. See the LICENSE file for details.
The demo assets are from Kenney.
Download
Version1.0
Download Now
Support
If you need help or have questions about this plugin, please contact the author.
Contact Author