<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Setup</title><link>https://sourceforge.net/p/twillex/wiki/Setup/</link><description>Recent changes to Setup</description><atom:link href="https://sourceforge.net/p/twillex/wiki/Setup/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 24 May 2012 19:44:42 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/twillex/wiki/Setup/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage Setup modified by Charles Patterson</title><link>https://sourceforge.net/p/twillex/wiki/Setup/</link><description>&lt;pre&gt;--- v8
+++ v9
@@ -18,12 +18,12 @@
 &lt;/blockquote&gt;
 &amp;nbsp;
 
-You could even make several engines if you wanted to keep categories of tweens separate.
+Where &lt;i&gt;myTweenEngine&lt;/i&gt; can be any unique name you prefer.  You could even make several engines if you wanted to keep categories of tweens separate.
 
 Frame Updates
 ======
 
-It's not possible to get Torque to call an *onUpdate()* on **Twillex** objects each frame.  The scene graph will have to be kind and call *Twillex::onUpdate()*.  For example:
+In *Torque2D*, it's not possible to get Torque to call an *onUpdate()* on **Twillex** objects each frame.  (That only works for scene objects and **Twillex** is not one.)  The scene graph will have to be kind and call *Twillex::onUpdate()*.  For example:
 
 &lt;blockquote&gt;
 &lt;font color=blue&gt;function&lt;/font&gt; mySceneGraph::onUpdateSceneTick(&lt;font color=blue&gt;%this&lt;/font&gt;) {&lt;br&gt;
@@ -34,6 +34,17 @@
 &amp;nbsp;
 
 Note that you don't have to call *onUpdate()* on the individual *Tweens*, just the **Twillex** engines.
+
+In *Torque3D*, there is no *scene graph* update method.  Instead call
+
+&lt;blockquote&gt;
+   &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;myTweenEngine.startUpdates();&lt;br&gt;
+&lt;/blockquote&gt;
+&amp;nbsp;    
+
+This will cause updates every 1/30th of a second.  If you prefer slower updates, you can pass in a parameter that specifies milliseconds between updates, such as 60 or 120.
+
+Note that **Torque2D** users can also use **startUpdates()** but this author prefers the first method.
 
 Use
 ======
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Charles Patterson</dc:creator><pubDate>Thu, 24 May 2012 19:44:42 -0000</pubDate><guid>https://sourceforge.net54c049345217fa5df4fdcc57c70baac4e8daa97e</guid></item><item><title>WikiPage Setup modified by Charles Patterson</title><link>https://sourceforge.net/p/twillex/wiki/Setup/</link><description>&lt;pre&gt;--- v7 
+++ v8 
@@ -5,44 +5,46 @@
 
 Setup and tear-down work as usual in Torque.  First, include the *Twillex.cs* script.  (**Twillex** is written as a single script file.)
 
-~~~~~~
-//
-exec("&lt;your_path&gt;/Twillex.cs");
-~~~~~~
-
+&lt;blockquote&gt;
+&lt;font color=blue&gt;exec&lt;/font&gt;(&lt;font color=purple&gt;"&lt;i&gt;&amp;lt;your_path&amp;gt;&lt;/i&gt;/Twillex.cs"&lt;/font&gt;);
+&lt;/blockquote&gt;
+&amp;nbsp;
+
 Then, create a **Twillex** *engine* to run your tweens.  For instance
 
-~~~~~~
-//
+
+&lt;blockquote&gt;
 Twillex::create(myTweenEngine);
-~~~~~~
+&lt;/blockquote&gt;
+&amp;nbsp;
 
 You could even make several engines if you wanted to keep categories of tweens separate.
 
 Frame Updates
 ======
 
 It's not possible to get Torque to call an *onUpdate()* on **Twillex** objects each frame.  The scene graph will have to be kind and call *Twillex::onUpdate()*.  For example:
 
-~~~~~~
-//
-function mySceneGraph::onUpdateSceneTick(%this) {
-   // do all the other stuff also
-   myTweenEngine.onUpdate();
+&lt;blockquote&gt;
+&lt;font color=blue&gt;function&lt;/font&gt; mySceneGraph::onUpdateSceneTick(&lt;font color=blue&gt;%this&lt;/font&gt;) {&lt;br&gt;
+   &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color=green&gt;// do all the other stuff also&lt;/font&gt;&lt;br&gt;
+   &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;myTweenEngine.onUpdate();&lt;br&gt;
 }
-~~~~~~
+&lt;/blockquote&gt;
+&amp;nbsp;
 
 Note that you don't have to call *onUpdate()* on the individual *Tweens*, just the **Twillex** engines.
 
 Use
 ======
 [Example Use](Example Use) is a page with several examples of creating and using *Tweens*.
 
 Teardown
 ======
 
-In the end, delete your Twillex objects as usual:
-
-~~~~~~
+In the end, delete your **Twillex** objects as usual:
+
+&lt;blockquote&gt;
 myTweenEngine.delete();
-~~~~~~
+&lt;/blockquote&gt;
+&amp;nbsp;
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Charles Patterson</dc:creator><pubDate>Thu, 02 Feb 2012 20:28:27 -0000</pubDate><guid>https://sourceforge.net357e490f5a3fc1c9e2c837f2b93b24153724aa62</guid></item><item><title>WikiPage Setup modified by Charles Patterson</title><link>https://sourceforge.net/p/twillex/wiki/Setup/</link><description>&lt;pre&gt;--- v6 
+++ v7 
@@ -1,40 +1,42 @@
-To create a **Twillex** engine and **Tweens** requires set up, tear down, and frame updates.
-
+To create a **Twillex** engine and *Tweens* requires set up, tear down, and frame updates.
+
 Setup
 ------
 
 Setup and tear-down work as usual in Torque.  First, include the *Twillex.cs* script.  (**Twillex** is written as a single script file.)
 
 ~~~~~~
 //
 exec("&lt;your_path&gt;/Twillex.cs");
 ~~~~~~
 
-
 Then, create a **Twillex** *engine* to run your tweens.  For instance
 
 ~~~~~~
 //
 Twillex::create(myTweenEngine);
 ~~~~~~
 
 You could even make several engines if you wanted to keep categories of tweens separate.
 
 Frame Updates
 ======
 
 It's not possible to get Torque to call an *onUpdate()* on **Twillex** objects each frame.  The scene graph will have to be kind and call *Twillex::onUpdate()*.  For example:
 
 ~~~~~~
 //
 function mySceneGraph::onUpdateSceneTick(%this) {
    // do all the other stuff also
    myTweenEngine.onUpdate();
 }
 ~~~~~~
 
-Note that you don't have to call *onUpdate()* on the individual **Tweens**, just the **Twillex** engines.
-
+Note that you don't have to call *onUpdate()* on the individual *Tweens*, just the **Twillex** engines.
+
+Use
+======
+[Example Use](Example Use) is a page with several examples of creating and using *Tweens*.
 
 Teardown
 ======
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Charles Patterson</dc:creator><pubDate>Thu, 02 Feb 2012 20:17:57 -0000</pubDate><guid>https://sourceforge.neteece8863b50b366efdbfb2a765c3172727288a10</guid></item><item><title>WikiPage Setup modified by Charles Patterson</title><link>https://sourceforge.net/p/twillex/wiki/Setup/</link><description>&lt;pre&gt;--- v5 
+++ v6 
@@ -20,23 +20,27 @@
 
 You could even make several engines if you wanted to keep categories of tweens separate.
 
-Teardown
-======
-
-In the end, delete your Twillex objects as usual:
-
-~~~~~~
-myTweenEngine.delete();
-~~~~~~
-
+Frame Updates
+======
+
 It's not possible to get Torque to call an *onUpdate()* on **Twillex** objects each frame.  The scene graph will have to be kind and call *Twillex::onUpdate()*.  For example:
 
 ~~~~~~
 //
 function mySceneGraph::onUpdateSceneTick(%this) {
    // do all the other stuff also
    myTweenEngine.onUpdate();
 }
 ~~~~~~
 
 Note that you don't have to call *onUpdate()* on the individual **Tweens**, just the **Twillex** engines.
+
+
+Teardown
+======
+
+In the end, delete your Twillex objects as usual:
+
+~~~~~~
+myTweenEngine.delete();
+~~~~~~
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Charles Patterson</dc:creator><pubDate>Thu, 02 Feb 2012 20:10:46 -0000</pubDate><guid>https://sourceforge.netc93064a434d5b583ba137ffca25d9c5ca6e7a2ad</guid></item><item><title>WikiPage Setup modified by Charles Patterson</title><link>https://sourceforge.net/p/twillex/wiki/Setup/</link><description>&lt;pre&gt;--- v4 
+++ v5 
@@ -14,6 +14,7 @@
 Then, create a **Twillex** *engine* to run your tweens.  For instance
 
 ~~~~~~
+//
 Twillex::create(myTweenEngine);
 ~~~~~~
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Charles Patterson</dc:creator><pubDate>Thu, 02 Feb 2012 20:10:02 -0000</pubDate><guid>https://sourceforge.net7fab889739d5cb0f9d9bf17c0c948219934a0295</guid></item><item><title>WikiPage Setup modified by Charles Patterson</title><link>https://sourceforge.net/p/twillex/wiki/Setup/</link><description>&lt;pre&gt;--- v3 
+++ v4 
@@ -6,32 +6,32 @@
 Setup and tear-down work as usual in Torque.  First, include the *Twillex.cs* script.  (**Twillex** is written as a single script file.)
 
 ~~~~~~
-
+//
 exec("&lt;your_path&gt;/Twillex.cs");
 ~~~~~~
 
 
 Then, create a **Twillex** *engine* to run your tweens.  For instance
 
 ~~~~~~
 Twillex::create(myTweenEngine);
 ~~~~~~
 
 You could even make several engines if you wanted to keep categories of tweens separate.
 
 Teardown
 ======
 
 In the end, delete your Twillex objects as usual:
 
 ~~~~~~
 myTweenEngine.delete();
 ~~~~~~
 
 It's not possible to get Torque to call an *onUpdate()* on **Twillex** objects each frame.  The scene graph will have to be kind and call *Twillex::onUpdate()*.  For example:
 
 ~~~~~~
-
+//
 function mySceneGraph::onUpdateSceneTick(%this) {
    // do all the other stuff also
    myTweenEngine.onUpdate();
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Charles Patterson</dc:creator><pubDate>Thu, 02 Feb 2012 20:09:30 -0000</pubDate><guid>https://sourceforge.net2fdce90bf2c2f045115a0405605a3b3b4708a4a4</guid></item><item><title>WikiPage Setup modified by Charles Patterson</title><link>https://sourceforge.net/p/twillex/wiki/Setup/</link><description>&lt;pre&gt;--- v2 
+++ v3 
@@ -6,30 +6,32 @@
 Setup and tear-down work as usual in Torque.  First, include the *Twillex.cs* script.  (**Twillex** is written as a single script file.)
 
 ~~~~~~
+
 exec("&lt;your_path&gt;/Twillex.cs");
 ~~~~~~
 
 
 Then, create a **Twillex** *engine* to run your tweens.  For instance
 
 ~~~~~~
 Twillex::create(myTweenEngine);
 ~~~~~~
 
 You could even make several engines if you wanted to keep categories of tweens separate.
 
 Teardown
 ======
 
 In the end, delete your Twillex objects as usual:
 
 ~~~~~~
 myTweenEngine.delete();
 ~~~~~~
 
 It's not possible to get Torque to call an *onUpdate()* on **Twillex** objects each frame.  The scene graph will have to be kind and call *Twillex::onUpdate()*.  For example:
 
 ~~~~~~
+
 function mySceneGraph::onUpdateSceneTick(%this) {
    // do all the other stuff also
    myTweenEngine.onUpdate();
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Charles Patterson</dc:creator><pubDate>Thu, 02 Feb 2012 20:09:19 -0000</pubDate><guid>https://sourceforge.net289742b8e65e70fb64e351c5c9240f383021383c</guid></item><item><title>WikiPage Setup modified by Charles Patterson</title><link>https://sourceforge.net/p/twillex/wiki/Setup/</link><description>&lt;pre&gt;--- v1 
+++ v2 
@@ -1,43 +1,39 @@
-## Setup/Teardown/Maintenance
-
-To create a Twillex engine requires set up, tear down, and frame updates.
-
-Setup and tear-down work as usual in Torque.
-
-First, include the script
-
-~~~~~~
+To create a **Twillex** engine and **Tweens** requires set up, tear down, and frame updates.
+
+Setup
+------
+
+Setup and tear-down work as usual in Torque.  First, include the *Twillex.cs* script.  (**Twillex** is written as a single script file.)
+
+~~~~~~
 exec("&lt;your_path&gt;/Twillex.cs");
 ~~~~~~
 
 
-Then, create a Twillex engine to run your tweens.
-
-~~~~~~
-//
+Then, create a **Twillex** *engine* to run your tweens.  For instance
+
+~~~~~~
 Twillex::create(myTweenEngine);
 ~~~~~~
 
-
-You could even make several Twillex engines if you wanted to keep categories of Tweens separate.  In the end, delete your Twillex objects as usual:
+You could even make several engines if you wanted to keep categories of tweens separate.
+
+Teardown
+======
+
+In the end, delete your Twillex objects as usual:
 
 ~~~~~~
 myTweenEngine.delete();
 ~~~~~~
 
-
-It's not possible to get Torque to call an *onUpdate()* on Twillex objects each frame.  The scene graph will have to be kind and call Twillex::onUpdate().
-For example:
-
-
-~~~~~~
- //
- function mySceneGraph::onUpdateSceneTick(%this) {
-    // do all the other stuff also
-    myTweenEngine.onUpdate();
+It's not possible to get Torque to call an *onUpdate()* on **Twillex** objects each frame.  The scene graph will have to be kind and call *Twillex::onUpdate()*.  For example:
+
+~~~~~~
+function mySceneGraph::onUpdateSceneTick(%this) {
+   // do all the other stuff also
+   myTweenEngine.onUpdate();
 }
 ~~~~~~
 
-
-Note that you don't have to call onUpdate on the individual Tweens, just the Twillex engines.
-
+Note that you don't have to call *onUpdate()* on the individual **Tweens**, just the **Twillex** engines.
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Charles Patterson</dc:creator><pubDate>Thu, 02 Feb 2012 20:08:43 -0000</pubDate><guid>https://sourceforge.net54479f8fbe3ada4d443e7fe1365dca001a02ee21</guid></item><item><title>WikiPage Setup modified by Charles Patterson</title><link>https://sourceforge.net/p/twillex/wiki/Setup/</link><description>## Setup/Teardown/Maintenance

To create a Twillex engine requires set up, tear down, and frame updates.

Setup and tear-down work as usual in Torque.

First, include the script

~~~~~~
exec("&lt;your_path&gt;/Twillex.cs");
~~~~~~


Then, create a Twillex engine to run your tweens.

~~~~~~
//
Twillex::create(myTweenEngine);
~~~~~~


You could even make several Twillex engines if you wanted to keep categories of Tweens separate.  In the end, delete your Twillex objects as usual:

~~~~~~
myTweenEngine.delete();
~~~~~~


It's not possible to get Torque to call an *onUpdate()* on Twillex objects each frame.  The scene graph will have to be kind and call Twillex::onUpdate().
For example:


~~~~~~
 //
 function mySceneGraph::onUpdateSceneTick(%this) {
    // do all the other stuff also
    myTweenEngine.onUpdate();
}
~~~~~~


Note that you don't have to call onUpdate on the individual Tweens, just the Twillex engines.

</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Charles Patterson</dc:creator><pubDate>Thu, 02 Feb 2012 20:03:09 -0000</pubDate><guid>https://sourceforge.netcc2bef8e209e756d1c9e054da5df9f7c9a850b5a</guid></item></channel></rss>