summaryrefslogtreecommitdiff
path: root/manuals/chickadee/Particles.html
diff options
context:
space:
mode:
Diffstat (limited to 'manuals/chickadee/Particles.html')
-rw-r--r--manuals/chickadee/Particles.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/manuals/chickadee/Particles.html b/manuals/chickadee/Particles.html
index 1874dfd..d058996 100644
--- a/manuals/chickadee/Particles.html
+++ b/manuals/chickadee/Particles.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="3D-Models.html" rel="next" title="3D Models">
-<link href="Fonts.html" rel="prev" title="Fonts">
+<link href="Tile-Maps.html" rel="next" title="Tile Maps">
+<link href="Vector-Paths.html" rel="prev" title="Vector Paths">
<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="Particles"></span><div class="header">
<p>
-Next: <a href="3D-Models.html" accesskey="n" rel="next">3D Models</a>, Previous: <a href="Fonts.html" accesskey="p" rel="prev">Fonts</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>
+Next: <a href="Tile-Maps.html" accesskey="n" rel="next">Tile Maps</a>, Previous: <a href="Vector-Paths.html" accesskey="p" rel="prev">Vector Paths</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="Particles-1"></span><h4 class="subsection">2.3.7 Particles</h4>
@@ -113,21 +113,21 @@ how many of them to spawn, and for how long they should do it.
at the coordinates <code>(320, 240)</code>:
</p>
<div class="example">
-<pre class="example">(use-modules (chickadee math vector))
-(define emitter (make-particle-emitter (vec2 320.0 240.0) 16))
+<pre class="example">(use-modules (chickadee math rect))
+(define emitter (make-particle-emitter (make-rect 0.0 0.0 320.0 240.0) 16))
(add-particle-emitter particles emitter)
</pre></div>
<p>To see all of the tweakable knobs and switches, read on!
</p>
<dl>
-<dt id="index-make_002dparticles">Procedure: <strong>make-particles</strong> <em>capacity [#:blend-mode <code>alpha</code>] [#:color white] [#:end-color transparent] [#:texture] [#:animation-rows 1] [#:animation-columns 1] [#:width] [#:height] [#:speed-range (vec2 0.1 1.0)] [#:acceleration-range (vec2 0.0 0.1)] [#:direction-range (vec2 0 (* 2 pi))] [#:lifetime 30] [#:sort]</em></dt>
+<dt id="index-make_002dparticles">Procedure: <strong>make-particles</strong> <em>capacity [#:blend-mode] [#:color white] [#:end-color transparent] [#:texture] [#:animation-rows 1] [#:animation-columns 1] [#:width] [#:height] [#:speed-range (vec2 0.1 1.0)] [#:acceleration-range (vec2 0.0 0.1)] [#:direction-range (vec2 0 (* 2 pi))] [#:lifetime 30] [#:sort]</em></dt>
<dd>
<p>Return a new particle system that may contain up to <var>capacity</var>
particles. Achieving the desired particle effect involves tweaking
the following keyword arguments as needed:
</p>
-<p>- <var>blend-mode</var>: Pixel blending mode. <code>alpha</code> by default.
+<p>- <var>blend-mode</var>: Pixel blending mode. Alpha blending is used by default.
(see <a href="Blending.html">Blending</a> for more about blend modes).
</p>
<p>- <var>start-color</var>: The tint color of the particle at the beginning of its
@@ -243,7 +243,7 @@ frame.
<hr>
<div class="header">
<p>
-Next: <a href="3D-Models.html" accesskey="n" rel="next">3D Models</a>, Previous: <a href="Fonts.html" accesskey="p" rel="prev">Fonts</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>
+Next: <a href="Tile-Maps.html" accesskey="n" rel="next">Tile Maps</a>, Previous: <a href="Vector-Paths.html" accesskey="p" rel="prev">Vector Paths</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>