Particle Effects in the Editor and in the game look different. What can be the reason?

Good day! Trying to implement a simple system of particles in LibGDX for Android. The effect in the Particle Editor, wrote the code for the application, and the result does not agree with the Editor'om, is drawn only one particle, even though the system is specified from 6 to 70. Saw in a network of similar questions, but no response is found, which would have helped. What can do wrong? Any additional steps in the code do not only download, update and display.

Property class:
ParticleEffect effect;

In the constructor:
effect = new ParticleEffect();
effect.load(Gdx.files.internal(PATH_TO_PARTICLE), particleAtlas);


To start the display:
effect.setPosition(Gdx.graphics.getWidth() / 2, Gdx.graphics.getHeight() / 2);
effect.start();


In the render:
effect.draw(spriteBatch);

In the update:
effect.update(delta);
June 14th 19 at 19:10
0 answer

Find more questions by tags AndroidDevelopment of gameslibgdx