OwlCyberSecurity - MANAGER
Edit File: boot.js
var boot = function(game) { console.log("%cGame Initializing...", "color:black;background:red"); } boot.prototype = { preload: function() { //showAd(); //load the images/assets that you wanted to appear in the loading screen this.load.image("background","img/bg.png"); this.load.image("bubbles_bg","img/bubbles_bg.png"); this.load.atlas("background_details","img/bg_details.png","img/bg_details.json"); //this.load.atlas("background2","img/bg2.png","img/bg2.json"); this.load.atlas("logo","img/logo.png","img/logo.json"); this.load.atlas("logo_small","img/logo_small.png","img/logo_small.json"); this.load.atlas("logo_anim","img/logo_anim.png","img/logo_anim.json"); this.load.atlas("logo_ingame","img/logo_ingame.png","img/logo_ingame.json"); }, create: function() { this.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL; this.scale.pageAlignHorizontally = true; this.scale.pageAlignVertically = true; this.scale.setMinMax(this.width/2,this.height/2,this.width,this.height); this.state.start("Preload"); } }