Skip to content

Commit

Permalink
fix debris effect
Browse files Browse the repository at this point in the history
  • Loading branch information
KilledByAPixel committed Apr 15, 2024
1 parent a08b725 commit dd8f7f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/platformer/gameEffects.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dd8f7f4

Please sign in to comment.