File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -685,56 +685,23 @@ Phaser.Game.prototype = {
685685 return ;
686686 }
687687
688- var v = Phaser . VERSION ;
689- var r = 'Canvas' ;
690- var a = 'HTML Audio' ;
691- var c = 1 ;
692-
693- if ( this . renderType === Phaser . WEBGL )
694- {
695- r = 'WebGL' ;
696- c ++ ;
697- }
698- else if ( this . renderType === Phaser . HEADLESS )
699- {
700- r = 'Headless' ;
701- }
702-
703- if ( this . device . webAudio )
704- {
705- a = 'WebAudio' ;
706- c ++ ;
707- }
708-
709- if ( this . device . chrome )
688+ if ( ! this . device . ie )
710689 {
711690 var args = [
712- '%c %c %c Phaser v' + v + ' | Pixi.js | ' + r + ' | ' + a + ' %c %c ' + '%c http://phaser.io %c\u2665%c\u2665%c\u2665 ',
713- 'background: #fb8cb3 ' ,
714- 'background: #d44a52 ' ,
715- 'color: #ffffff; background: #871905; ' ,
716- 'background: #d44a52 ' ,
717- 'background: #fb8cb3 ' ,
718- 'background: #ffffff '
691+ '%c %c %c %c %c Phaser v' + Phaser . VERSION + ' / Pixi.js %c http://phaser.io' ,
692+ 'background: #ff0000 ' ,
693+ 'background: #ffff00 ' ,
694+ 'background: #00ff00 ' ,
695+ 'background: #00ffff ' ,
696+ 'color: #ffffff; background: #000; ' ,
697+ 'background: #fff '
719698 ] ;
720699
721- for ( var i = 0 ; i < 3 ; i ++ )
722- {
723- if ( i < c )
724- {
725- args . push ( 'color: #ff2424; background: #fff' ) ;
726- }
727- else
728- {
729- args . push ( 'color: #959595; background: #fff' ) ;
730- }
731- }
732-
733700 console . log . apply ( console , args ) ;
734701 }
735702 else if ( window [ 'console' ] )
736703 {
737- console . log ( 'Phaser v' + v + ' | Pixi.js | ' + r + ' | ' + a + ' | http://phaser.io') ;
704+ console . log ( 'Phaser v' + Phaser . VERSION + ' / Pixi.js / http://phaser.io' ) ;
738705 }
739706
740707 } ,
You can’t perform that action at this time.
0 commit comments