The class governing tilemaps. Tilemaps are a specialized concept used in 2D game map displays, created internally from multiple sprites.
Creates a Tilemap object. Specifies a Viewport (Viewport) when necessary.
Frees the tilemap. If the tilemap has already been freed, does nothing.
Returns TRUE if the tilemap has been freed.
Gets the Viewport (Viewport) specified when the tilemap was created.
Updates the autotile animation, etc. As a rule, this method is called once per frame.
Refers to the bitmap (Bitmap) used as a tileset.
Refers to the bitmap (Bitmap) used as an autotile with an index number from 0 to 6.
Refers to map data (Table). Defines a 3-dimensional array measuring [ horizontal size * vertical size * 3 ].
Refers to the flash data (Table) used when showing range of possible movement in simulation games, etc. Defines a 2-dimensional array measuring [ horizontal size * vertical size ]. This array must be the same size as the map data. Each element uses 4 bits to represent a tile's flash color in RGB; for example, 0xf84 flashes in RGB(15,8,4).
Reference to the priority table (Table). Defines a 1-dimensional array containing elements corresponding to tile IDs.
The tilemap's visibility. If TRUE, the tilemap is visible.
The X-coordinate of the tilemap's starting point. Change this value to scroll the tilemap.
The Y-coordinate of the tilemap's starting point. Change this value to scroll the tilemap.
The Z-coordinate of each sprite used to create a tilemap is fixed at a specific value.
Keep these rules in mind when setting the Z-coordinates of any map characters.
Converted from CHM to HTML with chm2web Pro 2.85 (unicode) |