Category: BackgroundAnimation

Description

There's only one file in this category: a JSON file that controls the scrolling of the background tile in the main menu.

Supported File Types

JSON Parameters

This category uses JSON files. JSON files are used to set additional information which can't be specified in the file itself. To use a JSON file, make a new file of file type .json with the same name as the file you are setting information for. For example, if you're setting custom information for the file rifle.png, you would make a new file named rifle.json. Inside the JSON file, you can set variables which will affect how the file is affected in-game. Each file page has an example of the default JSON it uses, so you can see which variables you can modify. Additionally, the table below shows all modifiable JSON variables for this category.

Name Description
width The width of the horizontal scroll distance in pixels.
height The height of the vertical scroll distance in pixels.
verticalTime The time in seconds it takes to scroll "height" pixels vertically.
horizontalTime The time in seconds it takes to scroll "width" pixels horizontally.
ease The curve to use when changing the position.
loopType The type of loop to use.

Related Files