dist/melonjs.js
function drawFX(renderer) {
         // fading effect
         if (this._fadeIn.tween) {
           renderer.clearColor(this._fadeIn.color); // remove the tween if over

           if (this._fadeIn.color.alpha === 1.0) {
             this._fadeIn.tween = null;
             me.pool.push(this._fadeIn.color);
             this._fadeIn.color = null;
           }
         } // flashing effect


         if (this._fadeOut.tween) {
           renderer.clearColor(this._fadeOut.color); // remove the tween if over

           if (this._fadeOut.color.alpha === 0.0) {
             this._fadeOut.tween = null;
             me.pool.push(this._fadeOut.color);
             this._fadeOut.color = null;
           }
         }
       }
function drawFX(renderer) {
         // fading effect
         if (this._fadeIn.tween) {
           renderer.clearColor(this._fadeIn.color); // remove the tween if over

           if (this._fadeIn.color.alpha === 1.0) {
             this._fadeIn.tween = null;
             me.pool.push(this._fadeIn.color);
             this._fadeIn.color = null;
           }
         } // flashing effect


         if (this._fadeOut.tween) {
           renderer.clearColor(this._fadeOut.color); // remove the tween if over

           if (this._fadeOut.color.alpha === 0.0) {
             this._fadeOut.tween = null;
             me.pool.push(this._fadeOut.color);
             this._fadeOut.color = null;
           }
         }
       }
function drawFX ( renderer ) { // fading effect if ( this . _fadeIn . tween ) { renderer . clearColor ( this . _fadeIn . color ) ; // remove the tween if over if ( this . _fadeIn . color . alpha === 1.0 ) { this . _fadeIn . tween = null ; me . pool . push ( this . _fadeIn . color ) ; this . _fadeIn . color = null ; } } // flashing effect if ( this . _fadeOut . tween ) { renderer . clearColor ( this . _fadeOut . color ) ; // remove the tween if over if ( this . _fadeOut . color . alpha === 0.0 ) { this . _fadeOut . tween = null ; me . pool . push ( this . _fadeOut . color ) ; this . _fadeOut . color = null ; } } }
render the camera effects
@ignore
render the camera effects