OwlCyberSecurity - MANAGER
Edit File: index.html
<!doctype html> <html> <head> <meta charset = "UTF-8"></meta> <meta name = "mobile-web-app-capable" content= "yes"></meta> <script src = "lib/phaser.min.js"></script> <script src = "scripts/boot.js"></script> <script src = "scripts/preload.js"></script> <script src = "scripts/titlescreen.js"></script> <script src = "scripts/dressup.js"></script> <style> body{margin: 0px} </style> <script> (function() { /*we are going to make the canvas here width v v height v name of the canvas*/ var game = new Phaser.Game(1920,1440,Phaser.CANVAS,"game"); /* ^ you can change it to WEBGL, CANVAS or AUTO. AUTO will automatically detect if the browser can handle WEBGL or CANVAS. If it supports WEBGL, then the game will run in WEBGL mode. If it can handle CANVAS then it will run in CANVAS mode. But, we'll set it to CANVAS to make sure the save screenshot is going to work*/ game.state.add("Boot",boot); game.state.add("Preload",preload); game.state.add("TitleScreen",titlescreen); game.state.add("DressUp",dressup); game.state.start("Boot"); })(); </script> </head> </html>