In this section, we will learn how to create particle effects using the Particle Editor tool and use them in the game.
When the player dies, he just disappears for some time and reappears. Let's add an explosion effect when he hits a hazard or an enemy. There is a nifty tool shipped with LibGDX called Particle Editor, which makes it easy to create such effects. Let's see how to run this utility. Head over to https://libgdx.badlogicgames.com/tools.html to download it.
Click on the Download link below the 2D Particle Editor section. Once you have downloaded it, you will get a JAR file, which you can double-click to open the utility:
A single particle is represented by an image. The editor allows you to add multiple ...