We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcc33a2 commit 3d8c0dbCopy full SHA for 3d8c0db
demo/app.js
@@ -19,7 +19,7 @@ backdrop.anchor = { x: 0, y: 0 };
19
app.stage.addChild(backdrop);
20
21
const emitter = PIXI.Particles.from('/demo/assets/star.png', 250);
22
-emitter.life = app.view.width;
+emitter.life = app.view.width * 0.7071067812;
23
emitter.direction = Math.PI * 1.5;
24
emitter.spread = Math.PI;
25
emitter.x = app.view.width * 0.5;
demo/assets/Purple.png
248 Bytes
0 commit comments