Player

To change an attribute of the player


 * 1) In the >> command window select Player commands
 * 2) Select an option. Replace all CAPITALIZED_PLACEHOLDERS.
 * 3) Use the reference below for a better idea of what each attribute should look like.
 * 4) Click "execute"

x, y
Integers. The x and y coordinates of the player's current position. Unlike with objects, this is readable and writable.

layerName
String. The name of the layer the player is currently in.

speed
Float. How fast the player moves in tiles per frame. (To roughly convert to tiles per second, multiply by 60)

movementDisabled
Bool. When set to true, player will not be able to move with the directional keys or use the

character
String. The ASCII character the player will display as.

font
String. The name of the font used to display the player's character

color
Array. List of RGBA values for the color of the character

open
Bool. When set to true, the inventory opens. When set to false, the inventory closes.

objects
Array. A list of objects stored in the player's inventory.