Hi
I’m a little confuse why the example, particularly the emit from zone does not pass in any arguments and works with latest phaser build but when i have them in my code, it asks for 3 parameters. count, x and y.
Hi
I’m a little confuse why the example, particularly the emit from zone does not pass in any arguments and works with latest phaser build but when i have them in my code, it asks for 3 parameters. count, x and y.
Show your code please.
Hi Samme,
The function itself requires 3 arguments - phaser/ParticleEmitter.js at v3.55.2 · photonstorm/phaser · GitHub
But the example emit from shape doesn’t pass any argument - Phaser 3 Examples
I’m trying to copy over the example to my own code and I’m not able to because of the required arguments.
All of the explode()
arguments are optional, in fact.