Level Design / Level Routine Editing / Routine Action Editing / Scrolling Actions
 
When the Scrolling Actions item is selected in the Level Routines Window's Actions to Perform column, the following set of controls appears in the panel on the right side of the Level Routines window. These controls are used to configure the scrolling related actions that are carried out when the selected routine is performed in the game. These actions include focusing the camera on a specific location, holding the camera's position for a certain amount of time, scrolling the camera in a particular direction, and changing the types of scrolling allowed in the level.


Perform Scrolling Action Checkbox

Determines whether the level scrolls when the selected routine is performed

Focus Camera on Specific Location Checkbox

Determines whether the camera is focused on a specific location when the selected routine is performed

Location X and Y Fields

Determines the location that the camera focuses on when the selected routine is performed

Hold Camera Position Checkbox

Determines whether the camera is held at a specific location when the selected routine is performed

Hold Camera Position For Field

Determines the number of ticks that the camera is held for when the selected routine is performed. There are 30 ticks per second.

Scroll Horizontally Checkbox

Determines whether the camera will scroll horizontally when the selected routine is performed

Scroll Horizontally For Field

Determines how many ticks the camera will spend scrolling horizontally when the selected routine is performed. There are 30 ticks per second.

Scroll Horizontally By Field

Determines the speed at which the camera will scroll to the right when this action is performed. The speed is measured in pixels per tick. There are 30 ticks per second. To make the camera scroll to the left, enter a negative value.

Scroll Vertically Checkbox

Determines whether the camera will scroll vertically when the selected routine is performed

Scroll Vertically For Field

Determines how many ticks the camera will spend scrolling vertically when the selected routine is performed. There are 30 ticks per second.

Scroll Vertically By Field

Determines the speed at which the camera will scroll downward when this action is performed. The speed is measured in pixels per tick. There are 30 ticks per second. To make the camera scroll upwards, enter a negative value.

Zoom Camera Checkbox

Determines whether the camera will zoom in or out when the selected routine is performed

Zoom Duration Field

Determines the period of time over which the camera will complete its zoom action, as measured in ticks. There are 30 ticks per second.

Zoom Amount Slider

Determines the distance that the camera will zoom to when the selected routine is performed. Higher values cause the camera to zoom in further. A value of 100% causes the camera to zoom to its default position.

Change Types of Scrolling Allowed Checkbox

Determines whether the type(s) of scrolling that are allowed to occur in the level are changed when the selected routine is performed. If this box is checked, any limitations to the permitted type(s) of scrolling can still be overridden by any Scrolling Actions configured above.

Allow Upward Scrolling Checkbox

Determines whether upward scrolling will be allowed after the selected routine is performed

Allow Downward Scrolling Checkbox

Determines whether downward scrolling will be allowed after the selected routine is performed

Allow Scrolling To The Left Checkbox

Determines whether the level will be allowed to scroll to the left after the selected routine is performed

Allow Scrolling To The Right Checkbox

Determines whether the level will be allowed to scroll to the right after the selected routine is performed