Skip to content

Commit 3d8c0db

Browse files
committed
Demo Fix
1 parent dcc33a2 commit 3d8c0db

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

demo/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ backdrop.anchor = { x: 0, y: 0 };
1919
app.stage.addChild(backdrop);
2020

2121
const emitter = PIXI.Particles.from('/demo/assets/star.png', 250);
22-
emitter.life = app.view.width;
22+
emitter.life = app.view.width * 0.7071067812;
2323
emitter.direction = Math.PI * 1.5;
2424
emitter.spread = Math.PI;
2525
emitter.x = app.view.width * 0.5;

demo/assets/Purple.png

248 Bytes
Loading

0 commit comments

Comments
 (0)