Camera Triggers

Guide info

Short: 5-7 minutes

TLDR - What this guide covers

  • With Update 2.2, various Camera Triggers are added to the game.
  • These triggers can manipulate the camera in several ways, such as rotating it or fixing it to a certain point.

1: Zoom :ZoomTrigger:

Use the Zoom trigger to simply zoom the camera in and out:

  • Numbers exceeding 1 zooms the camera in :ZoomIn:.
  • Numbers less than 1 zooms the camera out :ZoomOut:.

None

The trigger has sliders for adjusting the zoom value and the time. It also has various easings just like the Move, Rotate and Scale triggers. Just like most other triggers, it’s also able to be Touch and Spawn-triggered.

This is how it looks fully zoomed in:

None

This is how it looks fully zoomed out:

None

Here’s a video demonstrating the Zoom trigger:

None

2: Static Trigger :CamStaticTrigger:

The Static trigger fixes the camera to a selected point on the screen.

None

Target Pos Group ID is for the object the camera will lock to. You can only have one object as the center.

X Only makes the trigger ignore the Y-axis when moving the camera. Y Only does the opposite; ignoring the X-axis.

If the center moves via a Move or Rotate trigger, the Follow option makes the camera move along with the center. The Follow Easing slider modifies the easing rate.

As the name implies, Exit Static disables the trigger and reverts the camera to its previous state. Ticking Exit Instant does it in an instant rather than easing to the previous state.

This is how the Static Camera looks in game:

None

Here’s a video demonstrating the Static trigger:

None

3: Offset Trigger :OffsetTrigger:

The Offset trigger __shifts the camera by a certain distance in the X and Y axes. __ You’re essentially using a Move Trigger for the camera.

None

Offset X shifts the camera left and right, while Offset Y shifts the camera up and down. Enabling X Only will make the trigger ignore the Y axis on activation, while enabling Y Only ignores the X axis. The Easings work like usual.

Here’s how offset X(-50) looks in game:

None

Here’s how offset Y(50) looks in game:

None

Here’s how offsets X(50) and Y(50) look in game:

None

Here’s a video demonstrating the Offset trigger:

None

4: GP Offset Trigger :GPOffsetTrigger:

Meanwhile, the GP Offset trigger shifts the player’s position relative to the camera.

None

X Only and Y Only works exactly like the Offset trigger, where they ignore each other’s axes. Ticking Don’t Zoom didn’t seem to do anything even when combined with the zoom trigger. Either it lacks a function, or it will be expanded in a later update such as 2.206.

Pressing the Default button restores the original position between the player and the camera, which is typically a bit to the left.

Here’s a video demonstrating the GPOffset trigger:

None

5: Rotate Camera Trigger :RotateCamTrigger:

Not to be confused with the Rotate trigger, the Rotate Camera trigger rotates the camera up to a 360° angle.

None

The Degrees slider modifies the camera’s angle. By default, the angle sets the camera’s position, so adding 20° will always shift the camera 20° regardless of the previous rotation. Additionally, if you use an angle that exceeds 360°, the camera can spin multiple times (720° spins the camera clockwise twice).

2.2’s official release, however, adds the Add checkbox which stacks the angle with the previous rotation. If the camera is set to 60°, inputting 20° would rotate the camera to 80° instead of 20°.

Alongside Add is Snap360 which rotates the camera’s position to the nearest 360° angle. In other words, it uprights the camera back to its default position As of 2.205, however, it seems that this feature does not work. Even so, you can just input 0° and/or 360° if you want to stabilize the camera.

Here’s how the game looks rotated 20°:

None

Here’s a video demonstrating the Rotate Camera trigger:

None

6: Edge Trigger :CamEdgeTrigger:

The Edge trigger fixes the camera’s edge to a certain group.

None

The checkboxes Left, Right, Up and Down determine the edge the camera will be fixed to. Unlike the other camera triggers, you can’t use a certain easing or modify the move time. Unlock resets the camera to its normal state.

Here’s a video demonstrating the Edge trigger:

None

7: Mode Trigger :CamModeTrigger:

Some gamemodes by default have borders at the top and bottom such as the ball, ship, UFO, wave, spider, and swing gamemode. With the Mode trigger, you can remove these borders. It’s as simple as ticking Free Mode.

None

Ticking Edit Camera Settings leads you to two features that adjusts how the camera moves along the player:

  • Easing: changes how quickly the camera moves.
  • Padding: sets how close the player needs to be to activate the camera’s movement. Normally, the camera center will snap to the closest grid space. With the Disable GridSnap option enabled, the snapping will not happen.

Here’s a video demonstrating the Mode trigger:

None

8: Guide Trigger :CamGuideTrigger:

The Guide trigger’s purpose is to assist creators with camera layouts and aspect ratio, such as 19:6, 4:3, and 5:4. The trigger provides a guideline for these ratios when placed.

None

You can tweak the sliders in order to reflect the previous camera’s state if you used the Zoom :ZoomTrigger: or Offset trigger :OffsetTrigger:.

Here’s a video demonstrating how a Guide trigger can be used:

None

9: Shake Trigger :Shake:

The Shake trigger is self-explanatory: it shakes your screen. These jitters in movement come with three variables: strength, interval and duration.

None

Strength affects how strong the shake will be. While you can only use the slider to 5, the highest strength you can input is 100 as of Update 2.2; anything higher than that will return back to 100.

Interval changes time in between screen shakes. The lower the interval, the quicker the shake. The values range between 0 and 0.2 seconds.

Duration sets how long the trigger will last. The highest duration time you can input is 10 seconds.

Shake triggers can be used to exaggerate impact, or emphasize a buildup with drums. You can also use it to add ambience to your scene. For playability in lower end devices, there is an option to Disable Shake.

Here’s a video demonstrating the Shake trigger:

None

**Video: **https://youtu.be/Ib63PvOkxUY?si=e-_wO79iRmVJrAfp

Credits

Created by @etherail and @zars70