This GDExtension was developed as part of my final thesis at the School For Games in Berlin!
A Camera addon for Godot 4.2.2.
Loosely based on the Unity Cinemachine.
Makes blending and shaking cameras easy!
Aimed to reduce the amount of code lines in your project a lot.
A lot can be configured in the Inspector.
![](https://private-user-images.githubusercontent.com/129980440/335263266-64f31142-a6fe-4a3f-904a-bee4cbefa347.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk2Mjc0NTgsIm5iZiI6MTcxOTYyNzE1OCwicGF0aCI6Ii8xMjk5ODA0NDAvMzM1MjYzMjY2LTY0ZjMxMTQyLWE2ZmUtNGEzZi05MDRhLWJlZTRjYmVmYTM0Ny5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjI5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyOVQwMjEyMzhaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02M2U2ZTU4MjQ2NTY5NzgzODE3NzYyNmYxNmNhYWEzYjFjZTcwYTVhYTg2MzFjM2RiZjE2MDU5YjUwNGIwZWQzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.sprHtCqwGg60ZRgflKWY4N3s0BJgDDmU622v5l9sACg)
Godot 4.2.2, GDExtension API -> C++
-
Camera blending
Includes infinite blending and one-time blending.
Both can be setup with different speed and interpolation settings.
- Dummy (Virtual) camera setups for future use, containing data of a future camera setup.
-
Priority camera, setup in the virtual cameras.
Includes moving and blending.
-
Following a camera target.
Includes infinite blending and offset settings, with varying interpolation settings. -
Signals and callables
Trigger on certain moments like the completion of a blend. - Blends can be paused and resumed.
- Many setters / getters to retrieve information of the current status of the camera.
-
Custom warnings and errors
Will safely ignore the error and provides information about the problem. -
Utility features
For example: Moving to a given virtual camera setup or checking,
which is the next camera in the sequence. For a complete list, see class reference.
2D only
-
2D Camera shaking
Includes shaking using the camera frame offset, zoom and rotation.
All three can be setup with varying intensity, duration and interpolation settings.
Can be used while blending. -
Following a sequence of 2D blends
Includes editor integration, which shows the sequence as debug lines.
3D only
-
3D Camera shaking
Includes shaking using the camera frame offset, FOV and rotation.
All three can be setup with varying intensity, duration and interpolation settings.
Can be used while blending. -
Following a sequence of 3D blends
- Rotation blending in 3D space
-
Looking at a target
Includes infinite blending and offset settings, with varying interpolation settings.
![cinecam banner](https://github.com/LumiToad/GDExtension_CineCam/raw/main/images/asset_library.png?raw=true)