ParticleApplicationDemo

Overview

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, demo::ParticleEffect class, and demo::ParticleNode class.

How to Use

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.

Description

Using the demo::ParticleEffect class, ten instances are generated at time of initialization.
Effect playback is started by touch panel input.
Effects that can be played end in 120 frames. They can be re-used by detecting the end of playback using the IsDone method in the demo::ParticleNode class. Re-using instances allows particle oeprations at a stable cost when applications are running.


CONFIDENTIAL