Skip to content

3D camera shake

Shake 3D layer cameras.

Authors and contributors to this experimental extension: D8H.

Warning

This is an extension made by a community member and it only got through a light review by the GDevelop extension team. As such, we can't guarantee it meets all the quality standards of fully reviewed extensions.


Shake layer cameras on 3 rotations.

  • Short shaking can be used to give impact (explosion, hit)
  • Shaking can go indefinitely to set an ambiance (engine vibration, earthquake, pulsing)
  • Low frequency shaking allows to simulate slow moving objects (ship rocking back and forth)

Tip

Learn how to install new extensions by following a step-by-step guide.

Actions

Horizontal rotation amplitude
Change the horizontal rotation amplitude of the shaking (in degrees).

See parameters
  • Parameter 1: 🟰 Operator
  • Parameter 2 (🔢 Number): Value
  • Parameter 3: 🔤 Layer name (String)

Technical note: parameters 0, 4 are internal parameters handled by GDevelop.

Shakable layer
Mark a layer as shakable.

See parameters
  • Parameter 1 (❓ Yes or No): Shakable
  • Parameter 2: 🔤 Layer name (String)

Technical note: parameters 0, 3 are internal parameters handled by GDevelop.

Layer shaking frequency
Change the number of back and forth per seconds.

See parameters
  • Parameter 1 (🔢 Number): Frequency
  • Parameter 2: 🔤 Layer name (String)

Technical note: parameters 0, 3 are internal parameters handled by GDevelop.

Spinning shake amplitude
Change the spinning amplitude of the shaking (in degrees).

See parameters
  • Parameter 1: 🟰 Operator
  • Parameter 2 (🔢 Number): Value
  • Parameter 3: 🔤 Layer name (String)

Technical note: parameters 0, 4 are internal parameters handled by GDevelop.

Vertical rotation amplitude
Change the vertical rotation amplitude of the shaking (in degrees).

See parameters
  • Parameter 1: 🟰 Operator
  • Parameter 2 (🔢 Number): Value
  • Parameter 3: 🔤 Layer name (String)

Technical note: parameters 0, 4 are internal parameters handled by GDevelop.

Shake camera
Shake the camera on layers chosen with configuration actions.

See parameters
  • Parameter 1 (🔢 Number): Duration (in seconds)
  • Parameter 2 (🔢 Number): Ease duration to start (in seconds)
  • Parameter 3 (🔢 Number): Ease duration to stop (in seconds)

Technical note: parameters 0, 4 are internal parameters handled by GDevelop.

Start camera shaking
Start shaking the camera indefinitely.

See parameters
  • Parameter 1 (🔢 Number): Ease duration (in seconds)

Technical note: parameters 0, 2 are internal parameters handled by GDevelop.

Stop camera shaking
Stop shaking the camera.

See parameters
  • Parameter 1 (🔢 Number): Ease duration (in seconds)

Technical note: parameters 0, 2 are internal parameters handled by GDevelop.

Conditions

Horizontal rotation amplitude
Compare the horizontal rotation amplitude of the shaking (in degrees).

See parameters
  • Parameter 1: 🟰 Relational operator
  • Parameter 2 (🔢 Number): Value to compare
  • Parameter 3: 🔤 Layer name (String)

Technical note: parameters 0, 4 are internal parameters handled by GDevelop.

Camera is shaking
Check if the camera is shaking.

See parameters

Technical note: parameters 0, 1 are internal parameters handled by GDevelop.

Spinning shake amplitude
Compare the spinning amplitude of the shaking (in degrees).

See parameters
  • Parameter 1: 🟰 Relational operator
  • Parameter 2 (🔢 Number): Value to compare
  • Parameter 3: 🔤 Layer name (String)

Technical note: parameters 0, 4 are internal parameters handled by GDevelop.

Vertical rotation amplitude
Compare the vertical rotation amplitude of the shaking (in degrees).

See parameters
  • Parameter 1: 🟰 Relational operator
  • Parameter 2 (🔢 Number): Value to compare
  • Parameter 3: 🔤 Layer name (String)

Technical note: parameters 0, 4 are internal parameters handled by GDevelop.

Expressions

Expression Description
CameraShake3D::HorizontalAmplitudeAngle(layer name) Return the horizontal rotation amplitude of the shaking (in degrees).
🔤 Layer name (String) Layer
CameraShake3D::SpineAmplitudeAngle(layer name) Return the spinning amplitude of the shaking (in degrees).
🔤 Layer name (String) Layer
CameraShake3D::VerticalAmplitudeAngle(layer name) Return the vertical rotation amplitude of the shaking (in degrees).
🔤 Layer name (String) Layer

This page is an auto-generated reference page about the 3D camera shake extension, made by the community of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop community-made extensions here.