How to create Player Auras?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By wombatTurkey
:warning: Old Version Published before Godot 3 was released.

I’m trying to create an “aura” for a player. Basically, it will circle around the character like planet around the sun… Think of the sun as being a character. The Particle Emitter is great for this.

But, one issue… How do I make the particles show behind the character when they start to orbit… behind the character lol. If that makes sense. For example:enter image description here

Basically, how in the world can this be done in 2d?

I have a basic Particle Emitter node that has a orbit value and it’s going in circles. But if I stick my character in there, it will show either behind or in font. No way for the particles to show behind the character when they are orbiting behind.

Does it work if you put the player and its particle system under an YSort node? I know it should for nodes, but individual particles aren’t…

Zylann | 2016-08-18 01:23

What about creating two animated images that mimic the flow of particles?
Let’s say that the character is surrounded by a semi-sphere, and the particles move on it’s surface. The sphere is both on top and behind the character… And I think that would be impossible to achieve. Instead, try to “split” the sphere into two halves: the first goes on top of the player, the latter goes below. Use your 3d editor of choice (like Blender) to render a small animation of it: as soon as a particle goes on the left side of the “front” section, it disappears and appears on the left side of the “back” section…
I think this would mimic well enough the effect you want to achieve :slight_smile:

Bloozlump | 2016-08-18 13:38