summaryrefslogtreecommitdiff
path: root/manuals/chickadee/Sprites.html
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2022-10-25 07:25:01 -0400
committerDavid Thompson <dthompson2@worcester.edu>2022-10-25 07:26:05 -0400
commitd54995cad9ddf652cd2f7abb128d5d251f9454f1 (patch)
tree34c7b4676b4e3615a2a66980868b4d767c6867b6 /manuals/chickadee/Sprites.html
parentbb44696ee1d8263b58976fec1bcd8e030f97f8e4 (diff)
projects: Update chickadee for 0.9.0 release.
Diffstat (limited to 'manuals/chickadee/Sprites.html')
-rw-r--r--manuals/chickadee/Sprites.html11
1 files changed, 6 insertions, 5 deletions
diff --git a/manuals/chickadee/Sprites.html b/manuals/chickadee/Sprites.html
index 2575e87..6069f8f 100644
--- a/manuals/chickadee/Sprites.html
+++ b/manuals/chickadee/Sprites.html
@@ -98,15 +98,16 @@ interface for working with sprites. Bitmaps are stored in textures
<code>draw-sprite</code> procedure.
</p>
<dl>
-<dt id="index-draw_002dsprite">Procedure: <strong>draw-sprite</strong> <em>texture position [#:tint white] [#:origin] [#:scale] [#:rotation] [#:blend-mode] [#:rect]</em></dt>
+<dt id="index-draw_002dsprite">Procedure: <strong>draw-sprite</strong> <em>texture position [#:blend-mode] [#:origin] [#:rect] [#:rotation] [#:scale] [#:shear] [#:tint white]</em></dt>
<dd>
<p>Draw <var>texture</var> at <var>position</var>.
</p>
<p>Optionally, other transformations may be applied to the sprite.
<var>rotation</var> specifies the angle to rotate the sprite, in radians.
-<var>scale</var> specifies the scaling factor as a 2D vector. All
-transformations are applied relative to <var>origin</var>, a 2D vector,
-which defaults to the lower-left corner.
+<var>scale</var> specifies the scaling factor as a 2D vector. <var>shear</var>
+specifies the shearing factor as a 2D vector. All transformations are
+applied relative to <var>origin</var>, a 2D vector, which defaults to the
+lower-left corner.
</p>
<p><var>tint</var> specifies the color to multiply against all the sprite&rsquo;s
pixels. By default white is used, which does no tinting at all.
@@ -159,7 +160,7 @@ are full to accomodate as many sprites as necessary.
</p></dd></dl>
<dl>
-<dt id="index-sprite_002dbatch_002dadd_0021">Procedure: <strong>sprite-batch-add!</strong> <em>batch position [#:origin] [#:scale] [:rotation] [#:tint <code>white</code>] [#:texture-region]</em></dt>
+<dt id="index-sprite_002dbatch_002dadd_0021">Procedure: <strong>sprite-batch-add!</strong> <em>batch position [#:origin] [:rotation] [#:scale] [#:shear] [#:texture-region] [#:tint <code>white</code>]</em></dt>
<dd>
<p>Add sprite located at <var>position</var> to <var>batch</var>.
</p>