Hello @matrizet
I know you found your solution for this but there is also setDepth() method. You can change the order with this.
For Example:
create() {
// INFO: Background image
this.add.image(this.centerX, this.centerY, 'bg1').setDepth(-1);
// setDepth(99) for me "i want my particles on top of my screen"
this.particles = this.add.particles('agent4').setDepth(99);
this.particles.createEmitter(this.cache.json.get('explode'));
// INFO: Sağ alttaki örümcek ağı
this.add.image(1920, 1080, 'spider').setOrigin(1).setDepth(10).setAlpha(.4);
}
It’s changing the rendering order on list. So Even if i add my spider after my particles, my particles are rendering on top of spider
That wasn’t a waste believe me just try to check phaser-docs and also check on phaser3-examples what ever you need first. You mostly find what you need
I tried the phaser Docs but couldn’t understand a thing.
And examples takes a long time to load so I just scrape the web for answers.
Anyways thanks for the concern
Another suggestion about examples is that you can clone the github repo phaser3-examples and use it from ur local machine. Dont forget to git pull time to time