1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"[]> 2<html xml:lang="en-US" lang="en-US"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../css/document.css" type="text/css" /> 7 <title>Graphix Library (gfx) Sample Demos</title> 8 </head> 9 <body> 10 <h1>ParticleApplicationDemo</h1> 11 12 <div class="section"><img src="images/ParticleApplicationDemo.png" border="0" width="400" height="240" /></div> 13 14 <h2>Overview</h2> 15 <p>These demos show how to re-use instances in applications. At time of initialization, 10 instances are ready. Effects can be replayed and reuched based on touch panel input. This demo uses the demo library, <a href="../../../nw/demo/ParticleEffect/Overview.html">demo::ParticleEffect</a> class, and <a href="../../../nw/demo/ParticleNode.html">demo::ParticleNode</a> class.<br /> 16 </p> 17 18 <h2>How to Use</h2> 19 <p> 20 <ul> 21 <li>Demo-specific operations</li> 22 <ul> 23 <li>Touch panel: Play effect</li> 24 </ul> 25 <li>Common Operations</li> 26 <ul> 27 <li>Slide pad: Rotate the camera</li> 28 <li>Slide pad + A Button: Move the camera back and forth</li> 29 <li>Slide pad + B Button: Move the camera in parallel</li> 30 <li>Slide pad + Y Button: Move the camera up and down</li> 31 <li>X Button: Reset the camera position</li> 32 <li>START Button: Restart the demo.</li> 33 </ul> 34 </ul> 35 36 <p>Touching the touch panel can play up to ten effects simultaneously. In this demo, ten effect slots that can be played back are displayed at the top of the touch panel. This can be used to check the usage status of effect instances inside the ParticleEffect class. 37 </p> 38 </p> 39 40 <h2>Description</h2> 41 <p>Using the <a href="../../../nw/demo/ParticleEffect/Overview.html">demo::ParticleEffect</a> class, ten instances are generated at time of initialization.<br />Effect playback is started by touch panel input.<br /> Effects that can be played end in 120 frames. They can be re-used by detecting the end of playback using the <span>IsDone</a> method in the <a href="../../../nw/demo/ParticleNode.html">demo::ParticleNode</span> class. Re-using instances allows particle oeprations at a stable cost when applications are running. 42 </p> 43<hr><p>CONFIDENTIAL</p></body> 44</html> 45 46