Skip to content

GlobalCamera

Moraguma edited this page Apr 7, 2023 · 1 revision

The main camera of Gamutoware. Provides methods for animating scene transitions and creating a camera shake effect

Methods

animate_transition()

Animates the scene transition. Emits the signal _transition/time in the moment the transition should happen. Used by the Global autoload.

add_trauma(amount = 0.5: float)

Adds trauma to the camera shake effect, created using a method similar to the one described here.

Clone this wiki locally