From 386618f59a7fd7d43a668bf40576ca104ee6d8f1 Mon Sep 17 00:00:00 2001 From: Frank Force Date: Mon, 5 Aug 2024 16:13:06 -0500 Subject: [PATCH] remove unused const emitter --- examples/platformer/gameObjects.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/platformer/gameObjects.js b/examples/platformer/gameObjects.js index c50ff6c8..c37cb6d9 100644 --- a/examples/platformer/gameObjects.js +++ b/examples/platformer/gameObjects.js @@ -323,7 +323,7 @@ class Bullet extends EngineObject this.range -= this.velocity.length(); if (this.range < 0) { - const emitter = new ParticleEmitter( + new ParticleEmitter( this.pos, 0, .2, .1, 50, PI, spriteAtlas.circle, // pos, emit info, tileInfo rgb(1,1,.1), rgb(1,1,1), // colorStartA, colorStartB rgb(1,1,.1,0), rgb(1,1,1,0),// colorEndA, colorEndB