diff options
Diffstat (limited to 'manuals/chickadee/Tile-Maps.html')
-rw-r--r-- | manuals/chickadee/Tile-Maps.html | 39 |
1 files changed, 32 insertions, 7 deletions
diff --git a/manuals/chickadee/Tile-Maps.html b/manuals/chickadee/Tile-Maps.html index 6d9d31a..64bb890 100644 --- a/manuals/chickadee/Tile-Maps.html +++ b/manuals/chickadee/Tile-Maps.html @@ -32,8 +32,8 @@ http://www.texinfo.org/ (GNU Texinfo). <link href="Index.html" rel="index" title="Index"> <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents"> <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"> +<link href="3D-Models.html" rel="next" title="3D Models"> +<link href="Particles.html" rel="prev" title="Particles"> <style type="text/css"> <!-- a.summary-letter {text-decoration: none} @@ -82,16 +82,16 @@ ul.no-bullet {list-style: none} <body lang="en"> <span id="Tile-Maps"></span><div class="header"> <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> [<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> +Next: <a href="3D-Models.html" accesskey="n" rel="next">3D Models</a>, Previous: <a href="Particles.html" accesskey="p" rel="prev">Particles</a>, Up: <a href="Graphics.html" accesskey="u" rel="up">Graphics</a> [<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> +<span id="Tile-Maps-1"></span><h4 class="subsection">2.3.8 Tile Maps</h4> <p>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 <a href="http://mapeditor.org">Tiled</a>. Chickadee has native support for loading and rendering Tiled maps in the <code>(chickadee -graphics tiled)</code> module. +graphics tile-map)</code> module. </p> <dl> <dt id="index-load_002dtile_002dmap">Procedure: <strong>load-tile-map</strong> <em>file-name</em></dt> @@ -151,7 +151,7 @@ coordinates. </p></dd></dl> <dl> -<dt id="index-draw_002dtile_002dmap">Procedure: <strong>draw-tile-map</strong> <em>tile-map [#:layers] [#:camera] [#: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] [#:blend-mode] [#:tint] [#:time] [#:chunk-size]</em></dt> <dd> <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 @@ -200,6 +200,16 @@ keyword argument. </p></dd></dl> <dl> +<dt id="index-tileset_002drows">Procedure: <strong>tileset-rows</strong> <em>tileset</em></dt> +<dd><p>Return the number of rows in <var>tileset</var>. +</p></dd></dl> + +<dl> +<dt id="index-tileset_002dcolumns">Procedure: <strong>tileset-columns</strong> <em>tileset</em></dt> +<dd><p>Return the number of columns in <var>tileset</var>. +</p></dd></dl> + +<dl> <dt id="index-tileset_002dproperties">Procedure: <strong>tileset-properties</strong> <em>tileset</em></dt> <dd><p>Return the custom properties of <var>tileset</var>. </p></dd></dl> @@ -225,6 +235,21 @@ keyword argument. </p></dd></dl> <dl> +<dt id="index-animation_003f">Procedure: <strong>animation?</strong> <em>obj</em></dt> +<dd><p>Return <code>#t</code> if <var>obj</var> is an animation. +</p></dd></dl> + +<dl> +<dt id="index-animation_002dframes">Procedure: <strong>animation-frames</strong> <em>animation</em></dt> +<dd><p>Return a vector of frames in <var>animation</var>. +</p></dd></dl> + +<dl> +<dt id="index-animation_002dduration">Procedure: <strong>animation-duration</strong> <em>animation</em></dt> +<dd><p>Return the duration of <var>animation</var>. +</p></dd></dl> + +<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. </p></dd></dl> @@ -332,7 +357,7 @@ keyword argument. <hr> <div class="header"> <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> [<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> +Next: <a href="3D-Models.html" accesskey="n" rel="next">3D Models</a>, Previous: <a href="Particles.html" accesskey="p" rel="prev">Particles</a>, Up: <a href="Graphics.html" accesskey="u" rel="up">Graphics</a> [<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> |