Command: tile

Syntax

tile <name> ,<file>

or

tile <name> = <ident>

Description

Create or redefine a tile identifier.

Parameters

Switches

Notes

The width and height of the tile are defined within the file.

Tile identifiers can have global or application scope, but cannot have local scope. When local tile identifiers are required, string identifiers should be used to reference the tiles by name.

Monochrome files Fire may have their foreground and background colors defined dynamically via fillstyles.

Color image files create tile patterns with fixed colors.

Examples

Define a grass pattern.

tile grass, $MXSYS/tiles/grass

Make a copy of a tile.

tile my_grass = grass

See Also

Commands:

fillstyle, polygon, prism, route

Identifiers:

scope (atable)

Structures:

tile