CameraAreas

From WonderWiki
Jump to navigation Jump to search
This page is still under construction.

The CameraArea actors affect the position of the camera and the area it is allowed to move within.

The active area is the one the player most recently entered.

The player will die when moving past the bottom of the active area without entering another CameraArea actor.

Actors[edit | edit source]

All of the actors use the Dynamic parameter in the Bcett file format.

Actor Information
CameraArea.pack.zs A normal camera area
CameraAreaSignal.pack.zs A camera area that is activated via a signal
CameraAreaPlacement.pack.zs
CameraAreaConditional.pack.zs A camera area that is only active when the player is inside of it

(meaning the camera won't scroll until the player enters the area)

Shared Dynamic Properties[edit | edit source]

For unique properties, see each actor's page.

withScrollAreaInfo[edit | edit source]

Parameter Information Example
scrollVBoundaryUP

scrollVBoundaryDOWN

The vertical offsets of the top of the camera's scroll margin.

(Base margin is set by the ScrollUpDownType parameters)

scrollVBoundaryUPwonder

scrollVBoundaryDOWNwonder

Ditto during a wonder effect.
scrollVBoundaryUPhighJump

scrollVBoundaryDOWNhighJump

Ditto while swimming.
scrollVBoundaryUPWaterWonder

scrollVBoundaryDOWNWaterWonder

Ditto while swimming during a wonder effect.
scrollVBoundaryUPVineMove

scrollVBoundaryDOWNVineMove

Ditto while climbing a vine.
ScrollUpDownType Sets the camera's vertical scroll margins, the camera scrolling when the player reaches the edge of these margins.

This will keep the player with a certain part of the screen based on the value provided.

(Can be offset with the appropriate scrollVBoundaryUP and scrollVBoundaryDown parameters)

Possible Values:

0: The top half of the screen

1: The middle third of screen

2: The bottom half of the screen

3:

4:

7: The bottom 2/3s of the screen, a middle ground between 1 & 2

8: The exact middle of the screen

9: 1/4 of the screen down from the middle

10: 1/4 of the screen up from the middle

ScrollUpDownTypeWonder Ditto during a wonder effect.
ScrollUpDownTypeHighJump Ditto while swimming.
ScrollUpDownTypeWoenderInWater Ditto while swimming during a wonder effect.
ScrollUpDownTypeVineMove Ditto while climbing a vine.
PreferredDir Sets the preferred scrolling direction for the camera, making the camera scroll in that direction.

(Can be set globally with a PreferDir actor)

1: Right

3: Left

LRWidePat The camera's horizontal offset when the player spawns or warps into a course area.

Negative Value = Right Offset & Positive Value = Left Offset

Example: -3 = 3 blocks offset right

CameraArea[edit | edit source]

Parameter Information Example
validSeamlessNextGoTo Example: true or false