From 5110430ec20295c94e7693484385133b5229dcd8 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 15 Nov 2017 13:10:43 +0100 Subject: [PATCH] Initial Commit: CC - Mouse Up (y10x7l8mj6.js) --- y10x7l8mj6.js | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 y10x7l8mj6.js diff --git a/y10x7l8mj6.js b/y10x7l8mj6.js new file mode 100644 index 0000000..ca7e582 --- /dev/null +++ b/y10x7l8mj6.js @@ -0,0 +1,24 @@ +if (!this.entityLoaded) { + return; +} + +if (!this.initialized) { + this.throwerParticleEngine = this.entityLoaded.throwerParticleEngine; + this.beforeRender = this.entityLoaded.beforeRender; + this.mouseMove = this.entityLoaded.mouseMove; +// this.renderer = this.entityLoaded.renderer; + this.initialized = true; +} + +this.beforeRender.mouseIsDown = false; +this.mouseMove.mouseIsDown = false; + +this.throwerParticleEngine.templateParticle.speed = 5; +this.throwerParticleEngine.particlesPerSecond = 5; +this.throwerParticleEngine.updateInstance('particlesPerSecond'); +this.throwerParticleEngine.templateParticle.positionOffset.x = 0.3; +this.throwerParticleEngine.templateParticle.positionOffset.y = 0.3; +this.throwerParticleEngine.templateParticle.scale.x = 3; + +return null; +//@ sourceURL=mouseUp.js \ No newline at end of file