summaryrefslogtreecommitdiff
path: root/manuals/chickadee/Tile-Maps.html
diff options
context:
space:
mode:
authorDavid Thompson <dthompson@vistahigherlearning.com>2020-11-19 20:50:56 -0500
committerDavid Thompson <dthompson@vistahigherlearning.com>2020-11-19 20:50:56 -0500
commit03f0340ae9df26b40855dd78216ff47738957851 (patch)
tree83ea1b646320b958b01757b8e7739783ecf68c91 /manuals/chickadee/Tile-Maps.html
parentfc7097f7368b384f6dc52d32da763af90bd3564a (diff)
manuals: Update chickadee manual to 0.6.0.
Diffstat (limited to 'manuals/chickadee/Tile-Maps.html')
-rw-r--r--manuals/chickadee/Tile-Maps.html42
1 files changed, 14 insertions, 28 deletions
diff --git a/manuals/chickadee/Tile-Maps.html b/manuals/chickadee/Tile-Maps.html
index 3990920..6d9d31a 100644
--- a/manuals/chickadee/Tile-Maps.html
+++ b/manuals/chickadee/Tile-Maps.html
@@ -18,7 +18,7 @@ Foundation Web site at http://www.gnu.org/licenses/fdl.html.
The document was typeset with
http://www.texinfo.org/ (GNU Texinfo).
-->
-<!-- Created by GNU Texinfo 6.6, http://www.gnu.org/software/texinfo/ -->
+<!-- Created by GNU Texinfo 6.7, http://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Tile Maps (The Chickadee Game Toolkit)</title>
@@ -28,12 +28,12 @@ http://www.texinfo.org/ (GNU Texinfo).
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
-<link href="index.html#Top" rel="start" title="Top">
-<link href="Index.html#Index" rel="index" title="Index">
+<link href="index.html" rel="start" title="Top">
+<link href="Index.html" rel="index" title="Index">
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
-<link href="Graphics.html#Graphics" rel="up" title="Graphics">
-<link href="Lines-and-Shapes.html#Lines-and-Shapes" rel="next" title="Lines and Shapes">
-<link href="Sprites.html#Sprites" rel="prev" title="Sprites">
+<link href="Graphics.html" rel="up" title="Graphics">
+<link href="Vector-Paths.html" rel="next" title="Vector Paths">
+<link href="Sprites.html" rel="prev" title="Sprites">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
@@ -82,7 +82,7 @@ ul.no-bullet {list-style: none}
<body lang="en">
<span id="Tile-Maps"></span><div class="header">
<p>
-Next: <a href="Lines-and-Shapes.html#Lines-and-Shapes" accesskey="n" rel="next">Lines and Shapes</a>, Previous: <a href="Sprites.html#Sprites" accesskey="p" rel="prev">Sprites</a>, Up: <a href="Graphics.html#Graphics" accesskey="u" rel="up">Graphics</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html#Index" title="Index" rel="index">Index</a>]</p>
+Next: <a href="Vector-Paths.html" accesskey="n" rel="next">Vector Paths</a>, Previous: <a href="Sprites.html" accesskey="p" rel="prev">Sprites</a>, Up: <a href="Graphics.html" accesskey="u" rel="up">Graphics</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
</div>
<hr>
<span id="Tile-Maps-1"></span><h4 class="subsection">2.3.4 Tile Maps</h4>
@@ -91,7 +91,7 @@ Next: <a href="Lines-and-Shapes.html#Lines-and-Shapes" accesskey="n" rel="next">
called &ldquo;tiles&rdquo;, into a larger image. One program for editing such
maps is called <a href="http://mapeditor.org">Tiled</a>. Chickadee has native
support for loading and rendering Tiled maps in the <code>(chickadee
-render tiled)</code> module.
+graphics tiled)</code> module.
</p>
<dl>
<dt id="index-load_002dtile_002dmap">Procedure: <strong>load-tile-map</strong> <em>file-name</em></dt>
@@ -151,18 +151,14 @@ coordinates.
</p></dd></dl>
<dl>
-<dt id="index-draw_002dtile_002dmap">Procedure: <strong>draw-tile-map</strong> <em>tile-map [#:layers] [#:region] [#:origin] [#:position] [#:scale] [#:rotation]</em></dt>
+<dt id="index-draw_002dtile_002dmap">Procedure: <strong>draw-tile-map</strong> <em>tile-map [#:layers] [#:camera] [#:origin] [#:position] [#:scale] [#:rotation]</em></dt>
<dd>
-<p>Draw the layers of <var>tile-map</var>. By default, all layers are drawn.
-To draw a subset of the available layers, pass a list of layer ids
-using the <var>layers</var> keyword argument.
-</p>
-<p>Refer to <code>draw-sprite</code> (see <a href="Sprites.html#Sprites">Sprites</a>) for information about
-the other arguments.
+<p>Draw the layers of <var>tile-map</var> as viewed from <var>camera</var>, 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 <var>layers</var>
+keyword argument.
</p></dd></dl>
-<span id="Tilesets"></span><h4 class="subsubsection">2.3.4.1 Tilesets</h4>
-
<dl>
<dt id="index-tileset_003f">Procedure: <strong>tileset?</strong> <em>obj</em></dt>
<dd><p>Return <code>#t</code> if <var>obj</var> is a tileset.
@@ -208,8 +204,6 @@ the other arguments.
<dd><p>Return the custom properties of <var>tileset</var>.
</p></dd></dl>
-<span id="Tiles"></span><h4 class="subsubsection">2.3.4.2 Tiles</h4>
-
<dl>
<dt id="index-tile_003f">Procedure: <strong>tile?</strong> <em>obj</em></dt>
<dd><p>Return <code>#t</code> if <var>obj</var> is a tile.
@@ -230,8 +224,6 @@ the other arguments.
<dd><p>Return the custom properties of <var>tile</var>.
</p></dd></dl>
-<span id="Animations"></span><h4 class="subsubsection">2.3.4.3 Animations</h4>
-
<dl>
<dt id="index-animation_002dframe_003f">Procedure: <strong>animation-frame?</strong> <em>obj</em></dt>
<dd><p>Return <code>#t</code> if <var>obj</var> is an animation frame.
@@ -247,8 +239,6 @@ the other arguments.
<dd><p>Return the duration of <var>frame</var>.
</p></dd></dl>
-<span id="Layers"></span><h4 class="subsubsection">2.3.4.4 Layers</h4>
-
<dl>
<dt id="index-tile_002dlayer_003f">Procedure: <strong>tile-layer?</strong> <em>obj</em></dt>
<dd><p>Return <code>#t</code> if <var>obj</var> is a tile layer.
@@ -299,8 +289,6 @@ the other arguments.
<dd><p>Return the custom properties of <var>layer</var>.
</p></dd></dl>
-<span id="Objects"></span><h4 class="subsubsection">2.3.4.5 Objects</h4>
-
<dl>
<dt id="index-map_002dobject_003f">Procedure: <strong>map-object?</strong> <em>obj</em></dt>
<dd><p>Return <code>#t</code> if <var>obj</var> is a map object.
@@ -331,8 +319,6 @@ the other arguments.
<dd><p>Return the custom properties of <var>obj</var>.
</p></dd></dl>
-<span id="Polygons"></span><h4 class="subsubsection">2.3.4.6 Polygons</h4>
-
<dl>
<dt id="index-polygon_003f">Procedure: <strong>polygon?</strong> <em>obj</em></dt>
<dd><p>Return <code>#t</code> if <var>obj</var> is a polygon.
@@ -346,7 +332,7 @@ the other arguments.
<hr>
<div class="header">
<p>
-Next: <a href="Lines-and-Shapes.html#Lines-and-Shapes" accesskey="n" rel="next">Lines and Shapes</a>, Previous: <a href="Sprites.html#Sprites" accesskey="p" rel="prev">Sprites</a>, Up: <a href="Graphics.html#Graphics" accesskey="u" rel="up">Graphics</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html#Index" title="Index" rel="index">Index</a>]</p>
+Next: <a href="Vector-Paths.html" accesskey="n" rel="next">Vector Paths</a>, Previous: <a href="Sprites.html" accesskey="p" rel="prev">Sprites</a>, Up: <a href="Graphics.html" accesskey="u" rel="up">Graphics</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
</div>