Hi everybody in the forum,
I’m not sure that a solution exist for my problem but maybe…
On desktop, i have a trail effect with particles attach to a player and all is perfect, see my capture screen :
My player move with Physics ARCADE and the particles follow them.
But on mobile device sometimes i can see the space between particles.
See capture :
My snippet for the particle in my prototype is :
this.particle = this.scene.add.particles('player_particle').createEmitter({
speed: {
min: 0,
max: 0
},
lifespan: 400,
scale: {
start: 1,
end: 0
},
quantity: 1,
on: true,
blendMode: 'MULTIPLY',
});
My snippet in update function in my prototype:
preUpdate(time, delta) {
super.preUpdate(time, delta)
this.particle.setPosition(this.x, this.y)
}
My game is 640px by 1280px with Phaser.WEBGL and my particle is 60/60px.
Is there a solution for that or is it due to mobile ( I hope not, Unity do it right…)?