Background
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_color - the background color of the current room.
- background_showcolor - whether to show the background color or not.
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.