-
Notifications
You must be signed in to change notification settings - Fork 0
1. Setting Up
The library uses assets found in the project assets folder. Before using the library, you must give the project's assetManager a locator for those assets. I suggest copy/pasting the vfx asset root directory into your project's asset directory, then creating an asset locator pointing to the vfx asset directory at runtime.
assetManager.registerLocator("assets/VfxAssets", FileLocator.class);
Both Particle
and ParticleData
represent information about a single particle. ParticleData is an extension of Particle, and is the most used of the two in this library. Most of the time, you'll be working with ParticleData and not Particle.
However, if you are dissatisfied with ParticleData's implementation, you are welcome to extend Particle directly. The library is designed to support this decision. Be warned: by doing so, you will be unable to use many pre-built implementations that come with the library.