Didjynn
Member
Hello everyone,
I have an object drawing some sprites and emetting some particles. The particles options are set in the create event.
The first game, particles are under all my sprites, which is what I want. But if I make another game/match, the particles are over it.
In the create event I use
to set the depth of my particles which should always be under my sprites drawn, do I mistake ?
Also, at the end of a match, I change the room and my instance isn't set as persistent. Also I have
in the destroy AND room change event. So I don't see how they could persist after the end of a match.
I've been looking for this problem for monthes now and I never found the reason for it, it just makes no sens to me. I tried +5 and -5 depth, I tried to set the depth each step to see if something change. But no, just the first match it is under the drawn sprites and after that above it.
Any idea ? I'm dying of frustration here
I have an object drawing some sprites and emetting some particles. The particles options are set in the create event.
The first game, particles are under all my sprites, which is what I want. But if I make another game/match, the particles are over it.
In the create event I use
Code:
part_system_depth(gel, depth + 5);
Also, at the end of a match, I change the room and my instance isn't set as persistent. Also I have
Code:
part_type_destroy(gel)
part_system_destroy(create_particles_gel)
I've been looking for this problem for monthes now and I never found the reason for it, it just makes no sens to me. I tried +5 and -5 depth, I tried to set the depth each step to see if something change. But no, just the first match it is under the drawn sprites and after that above it.
Any idea ? I'm dying of frustration here