Background Guide

Each room has a background that appears behind your game objects. The background can be a composed of tiles, background images, a background color or all three at once. The background color is at the "bottom" of the background. Background images overlay the background color, and finally, tiles are shown above all both background images and the background color.

Background Color

The bottom layer of a background is the background color. It is said to be the "bottom layer" because it appears behind everything, including background images and tiles. By default, the background color is an awful shade of gray.

Background Color Variables

Background Images

Background images are draw "above" the background color. Each room can have 8 background images, each one numbered 0 to 7. Background images are not sprites and do not register collisions.

Background Image Arrays