I'm trying to create a sort of "trail effect" behind my player when it's moving. Something very similar to the one in this app https://youtu.be/W9ZP1i1CoRo. I don't know which approach could be the best or the easier. Could I use some particle effect? I think I can't since the effect is quite regular and not a kind of cloud or something. I would be very happy to do it without dealing with complex animations but if it is the only way please explain to me some basics.
Asked
Active
Viewed 1,673 times
1 Answers
2
The easiest way to do this is using particle effects. it's hard to give more information since every particle effect is rather specific to its' game's needs.
I suggest you take a look at the wiki. Also, take a look at this helpful video. It has a basic usage of the particle effect editor, as well as the usage of ParticleEffect
objects in libgdx
code.

trinity420
- 670
- 7
- 19

asherbret
- 5,439
- 4
- 38
- 58
-
I had already watched the tutorial about particles editor but I can't figure out how to change the basic flame effect to something more "squared" like the one in the video... any tip? – Giuseppe Trapasso Jul 12 '15 at 12:09
-
You can change the image that's the base of the particle effect in the `ParticleEditor`. The image is set under "Emmiter Properties" --> "Image". Usually finding the correct Particle effect for a specific game is done via trying different effects until finding the perfect one. – asherbret Jul 12 '15 at 12:30
-
In order to emulate the effect that I linked, I think I have a problem with the angle. Changing the angle range the best it can do is a column (90° angle) but I would like a "pointed" shape like a triangle... – Giuseppe Trapasso Jul 13 '15 at 02:48