summaryrefslogtreecommitdiff
path: root/manuals/chickadee/Textures.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/Textures.html
parentfc7097f7368b384f6dc52d32da763af90bd3564a (diff)
manuals: Update chickadee manual to 0.6.0.
Diffstat (limited to 'manuals/chickadee/Textures.html')
-rw-r--r--manuals/chickadee/Textures.html29
1 files changed, 19 insertions, 10 deletions
diff --git a/manuals/chickadee/Textures.html b/manuals/chickadee/Textures.html
index 98639a3..48a580e 100644
--- a/manuals/chickadee/Textures.html
+++ b/manuals/chickadee/Textures.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>Textures (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="Sprites.html#Sprites" rel="next" title="Sprites">
-<link href="Colors.html#Colors" rel="prev" title="Colors">
+<link href="Graphics.html" rel="up" title="Graphics">
+<link href="Sprites.html" rel="next" title="Sprites">
+<link href="Colors.html" rel="prev" title="Colors">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
@@ -82,13 +82,13 @@ ul.no-bullet {list-style: none}
<body lang="en">
<span id="Textures"></span><div class="header">
<p>
-Next: <a href="Sprites.html#Sprites" accesskey="n" rel="next">Sprites</a>, Previous: <a href="Colors.html#Colors" accesskey="p" rel="prev">Colors</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="Sprites.html" accesskey="n" rel="next">Sprites</a>, Previous: <a href="Colors.html" accesskey="p" rel="prev">Colors</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="Textures-1"></span><h4 class="subsection">2.3.2 Textures</h4>
<p>Textures are essentially images: a 2D grid of color values. The
-<code>(chickadee render texture)</code> module provides an interface for
+<code>(chickadee graphics texture)</code> module provides an interface for
working with texture objects.
</p>
<dl>
@@ -185,7 +185,16 @@ between surrounding tiles and the entire image may have <var>margin</var>
pixels of empty space around its border.
</p>
<p>This type of texture atlas layout is very common for 2D tile maps.
-See <a href="Tile-Maps.html#Tile-Maps">Tile Maps</a> for more information.
+See <a href="Tile-Maps.html">Tile Maps</a> for more information.
+</p></dd></dl>
+
+<dl>
+<dt id="index-load_002dtileset">Procedure: <strong>load-tileset</strong> <em>file-name tile-width tile-height [#:margin 0] [#:spacing 0] [#:min-filter nearest] [#:mag-filter nearest] [#:wrap-s repeat] [#:wrap-t repeat] [#:transparent-color]</em></dt>
+<dd>
+<p>Return a new texture atlas that splits the texture loaded from the
+file <var>file-name</var> into a grid of <var>tile-width</var> by
+<var>tile-height</var> rectangles. See <code>load-image</code> and
+<code>split-texture</code> for information about all keyword arguments.
</p></dd></dl>
<dl>
@@ -206,7 +215,7 @@ See <a href="Tile-Maps.html#Tile-Maps">Tile Maps</a> for more information.
<hr>
<div class="header">
<p>
-Next: <a href="Sprites.html#Sprites" accesskey="n" rel="next">Sprites</a>, Previous: <a href="Colors.html#Colors" accesskey="p" rel="prev">Colors</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="Sprites.html" accesskey="n" rel="next">Sprites</a>, Previous: <a href="Colors.html" accesskey="p" rel="prev">Colors</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>