Dedicated library for using Effekseer particle tools in libGDX
https://effekseer.github.io/en/
https://libgdx.badlogicgames.com/
Android
Windows
You must download the native libraries
Android Folder
libs
arm64-v8a
libgdxeffek.so
armeabi-v7a
libgdxeffek.so
x86
libgdxeffek.so
Windows Folder
assets
gdxeffek.dll
implementation 'br.com.johnathan.gdx.effekseer.api:api:0.0.6'
sourceCompatibility = 1.8
// Effekseer start
EffekseerManager.InitializeEffekseer();
PerspectiveCamera perspectiveCamera = new PerspectiveCamera(67, 1280f, 720);
// Create a new manager for the particles
EffekseerManager manager = new EffekseerManager(perspectiveCamera);
// create a new particle
effekseer = new ParticleEffekseer(manager);
effekseer.setMagnification(20f);
try {
// false = InternalStorage
// true = ExternalStorage
effekseer.load("data/tu.efk",false);
} catch (Exception e) {
e.printStackTrace();
}
effekseer.play();
@Override
public void render() {
...
manager.draw(Gdx.graphics.getDeltaTime());
}
@Override
public void dispose() {
manager.dispose();
}
OrthographicCamera orthographicCamera = new OrthographicCamera(1280f,720f);
EffekseerManager manager = new EffekseerManager(orthographicCamera);
effekseer = new ParticleEffekseer(manager);
try {
effekseer.load("data/ring.efk",true);
} catch (Exception e) {
e.printStackTrace();
}
effekseer.play();
// called after the play function
effekseer.setPosition2D(); //2d animation;
effekseer.getScale();
effekseer.setScale();
effekseer.getNodeSize();
effekseer.rotate();
effekseer.translate();
effekseer.getNode();
effekseer.pause();
effekseer.resume();
effekseer.setOnAnimationComplete();
effekseer.transform //3d animation;
- Antonio Johnathan https://github.com/SrJohnathan
- Durswd https://github.com/durswd