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
graphics tile-map)
module.
Load the Tiled formatted map in file-name and return a new tile map object.
Return #t
if obj is a tile map.
Return the orientation of tile-map.
Return the width of tile-map in tiles.
Return the height of tile-map in tiles.
Return the width of tiles in tile-map.
Return the height of tiles in tile-map.
Return the tilesets for tile-map.
Return the layers of tile-map.
Return the custom properties of tile-map.
Translate the pixel coordinates (x, y) into tile coordinates.
Draw the layers of tile-map as viewed from camera, a 2D vector offset. 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.
Return #t
if obj is a tileset.
Return the name of tileset.
Return the starting GID of tileset.
Return the number of tiles in tileset.
Return the width of tiles in tileset.
Return the height of tiles in tileset.
Return the texture atlas for tileset.
Return the tiles in tileset.
Return the number of rows in tileset.
Return the number of columns in tileset.
Return the custom properties of tileset.
Return #t
if obj is a tile.
Return the ID of tile.
Return the animation for tile.
Return the custom properties of tile.
Return #t
if obj is an animation.
Return a vector of frames in animation.
Return the duration of animation.
Return #t
if obj is an animation frame.
Return the tile for frame.
Return the duration of frame.
Return #t
if obj is a tile layer.
Return the name of layer.
Return the width in tiles of layer.
Return the height in tiles of layer.
Return the tile data for layer.
Return the custom properties of layer.
Return #t
if obj is an object layer.
Return the name of layer.
Return the objects for layer.
Return the custom properties of layer.
Return #t
if obj is a map object.
Return the ID of obj.
Return the name of obj.
Return the type of obj.
Return the shape of obj.
Return the custom properties of obj.
Return #t
if obj is a polygon.
Return the list of points that form polygon.