mirror of
https://github.com/photonstorm/phaser
synced 2024-11-10 07:04:31 +00:00
If for whatever reason you wish to hide the Phaser banner in the console.log you can set window.PhaserGlobal.hideBanner
to true
and it will skip the output. Honestly I'd rather if you didn't, but the option is now there.
This commit is contained in:
parent
8340d56cd6
commit
2b2ee27912
2 changed files with 6 additions and 0 deletions
|
@ -72,6 +72,7 @@ Version 2.3.0 - "Tarabon" - in dev
|
|||
* Phaser now supports rotated and flipped tiles in tilemaps, as exported from the Tiled map editor (thanks @nkholski #1608)
|
||||
* TilemapParser now supports Tiled 0.11 version maps which includes the `rotation` property on all Object types.
|
||||
* Tilemap.createFromObjects now checks for a `rotation` property on the Object and if present will set it as the Sprite.angle (#1433)
|
||||
* If for whatever reason you wish to hide the Phaser banner in the console.log you can set `window.PhaserGlobal.hideBanner` to `true` and it will skip the output. Honestly I'd rather if you didn't, but the option is now there.
|
||||
|
||||
### Updates
|
||||
|
||||
|
|
|
@ -578,6 +578,11 @@ Phaser.Game.prototype = {
|
|||
*/
|
||||
showDebugHeader: function () {
|
||||
|
||||
if (window['PhaserGlobal'] && window['PhaserGlobal'].hideBanner)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
var v = Phaser.VERSION;
|
||||
var r = 'Canvas';
|
||||
var a = 'HTML Audio';
|
||||
|
|
Loading…
Reference in a new issue