Next: Lines and Shapes, Previous: Sprites, Up: Graphics [Contents][Index]
A tile map is a scene created by composing lots of small sprites,
called “tiles”, into a larger image. One program for editing such
maps is called Tiled. Chickadee has native
support for loading and rendering Tiled maps in the (chickadee
render tiled)
module.
Load the Tiled formatted map in file-name and return a new tile map object.
Draw the layers of tile-map. By default, all layers are drawn. To draw a subset of the available layers, pass a list of layer ids using the layers keyword argument.
Refer to draw-sprite
(see Sprites) for information about
the other arguments.