Module dtiled.map
A map is essentially a grid with additional information about tile positions and sizes.
Currently, the only map type is
, but OrthoMap
IsoMap
and HexMap
may be added in later
versions.
An
represents a map of rectangular (usually square) tiles that are arranged
orthogonally. In other words, all tiles in a row are at the same y corrdinate, and all tiles in
a column are at the same x coordinate (as opposed to an Isometric map, where there is an offset).
OrthoMap
An
provides all of the functionality as OrthoMap
RectGrid
.
It also stores the size of tiles and provides functions to translate between 'grid coordinates'
(row/column) and 'screen coordinates' (x/y pixel positions).
Structs
Name | Description |
---|---|
OrthoMap
|
Generic Tile Map structure that uses a single layer of tiles in an orthogonal grid .
|
Authors
Copyright
Copyright © 2015, Ryan Roden-Corrent