Name | Value | Description |
---|---|---|
myBG | -1 | my background, if not set the object will be destroyed |
bgL | 0 | left |
bgT | 0 | top |
bgH | 0 | height |
bgW | 0 | width |
resourceType | 0 | 1: background. 2: sprite. 3: surface. 0: infer. |
xspeed | 0 | Horizontal speed |
yspeed | 0 | Vertical speed |
offsetX | 0 | distance offset (from alignment with room's 0 coordinate) positive number shifts to the right/down. |
offsetY | 0 | |
parallaxX | 1 | parallax coefficients. negative: scrolls in opposite direction as camera 0: fixed in place (infinite distance) (0, 1): scrolls partly with camera 1: scrolls with camera (same parallax depth as game world) greater than 1: scrolls faster than camera (parallax foreground) |
parallaxY | 1 | |
imgInterval | 4 | Delay between images (sprite only). -1: fixed. |
snaptogrid | 0 | align to 16x16 grid |
areaLeft | -1 | define a custom area; for each value unused, the retrospective border of the current section where the object is placed is used as the default |
areaRight | -1 | |
areaTop | -1 | |
areaBottom | -1 | |
img | 0 | don't edit these: |
alarmImg | 0 | |
timer | 0 | |
xoff | 0 | |
yoff | 0 | |
init | false | |
xshift | 0 | |
yshift | 0 |
variable names in bold are safe to set in creation code.
Name | Value | Description |
---|---|---|
frozen | 0 |