diff --git a/src/gameobjects/particles/EmitterOp.js b/src/gameobjects/particles/EmitterOp.js index 8e083f643..767fb5384 100644 --- a/src/gameobjects/particles/EmitterOp.js +++ b/src/gameobjects/particles/EmitterOp.js @@ -233,18 +233,11 @@ var EmitterOp = new Class({ this.setMethods(method); - console.log('loadconfig', this.propertyKey, this.emitOnly); - if (this.emitOnly) { // Reset it back again this.onUpdate = this.defaultUpdate; } - - if (this.propertyKey === 'tint') - { - this.onUpdate = this.staticValueUpdate; - } }, /** diff --git a/src/gameobjects/particles/Particle.js b/src/gameobjects/particles/Particle.js index 72873054c..e3b90a808 100644 --- a/src/gameobjects/particles/Particle.js +++ b/src/gameobjects/particles/Particle.js @@ -650,7 +650,7 @@ var Particle = new Class({ this.alpha = ops.alpha.onUpdate(this, 'alpha', t, this.alpha); - // this.tint = ops.tint.onUpdate(this, 'tint', t, this.tint); + this.tint = ops.tint.onUpdate(this, 'tint', t, this.tint); this.bounce = ops.bounce.onUpdate(this, 'bounce', t, this.bounce); diff --git a/src/gameobjects/particles/ParticleEmitter.js b/src/gameobjects/particles/ParticleEmitter.js index 24c40a2b6..69d58322b 100644 --- a/src/gameobjects/particles/ParticleEmitter.js +++ b/src/gameobjects/particles/ParticleEmitter.js @@ -2594,10 +2594,6 @@ var ParticleEmitter = new Class({ * particle. The value should be given in hex format, i.e. 0xff0000 * for a red tint, and should not include the alpha channel. * - * Changing this property changes the tint that particles have when - * they are emitted. It does not change their tint during their lifetime. - * For that, see the `ParticleEmitter.color` property instead. - * * Tints are additive, meaning a tint value of white (0xffffff) will * effectively reset the tint to nothing. *