From dd8f7f4d7e370cd768a90f182a38e2c96a733d7b Mon Sep 17 00:00:00 2001 From: Frank Force Date: Sun, 14 Apr 2024 23:23:41 -0500 Subject: [PATCH] fix debris effect --- examples/platformer/gameEffects.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/platformer/gameEffects.js b/examples/platformer/gameEffects.js index 7c353fc3..b468b806 100644 --- a/examples/platformer/gameEffects.js +++ b/examples/platformer/gameEffects.js @@ -40,7 +40,7 @@ function makeDebris(pos, color = new Color, amount = 100, size=.2, elasticity = const color2 = color.lerp(new Color, .5); const emitter = new ParticleEmitter( pos, 0, 1, .1, 100, PI, // pos, angle, emitSize, emitTime, emitRate, emiteCone - undefined, undefined, // tileIndex, tileSize + 0, // tileInfo color, color2, // colorStartA, colorStartB color, color2, // colorEndA, colorEndB 3, size,size, .1, .05, // particleTime, sizeStart, sizeEnd, particleSpeed, particleAngleSpeed