From f16fed3d50fd3d56deb46a3d4641a81460e389de Mon Sep 17 00:00:00 2001 From: David Thompson Date: Wed, 12 Dec 2018 09:20:10 -0500 Subject: Update Chickadee manual and home page for 0.3.0. Better late than never! --- manuals/chickadee/Tile-Maps.html | 126 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 manuals/chickadee/Tile-Maps.html (limited to 'manuals/chickadee/Tile-Maps.html') diff --git a/manuals/chickadee/Tile-Maps.html b/manuals/chickadee/Tile-Maps.html new file mode 100644 index 0000000..cdf4f6e --- /dev/null +++ b/manuals/chickadee/Tile-Maps.html @@ -0,0 +1,126 @@ + + + + + + +Tile Maps (The Chickadee Game Toolkit) + + + + + + + + + + + + + + + + + + + + +
+

+Next: , Previous: , Up: Graphics   [Contents][Index]

+
+
+ +

2.3.4 Tile Maps

+ +

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. +

+
+
Procedure: load-tile-map file-name
+

Load the Tiled formatted map in file-name and return a new tile +map object. +

+ +
+
Procedure: draw-tile-map tile-map [#:layers] [#:region] [#:origin] [#:position] [#:scale] [#:rotation]
+
+

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. +

+ + + + + + -- cgit v1.2.3