1234567891011121314151617181920212223242526272829303132333435 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8" />
- <title>iHealth</title>
- <script src="./js/phaser.js"></script>
- <script src="./js/inicio.js"></script>
- <script src="./js/resultados.js"></script>
- <script src="./js/jogo.js"></script>
- <!--script src="./js/phaser_addon.js"></script>
- <script src="./js/ajuda.js"></script-->
- <script type="text/javascript">
- if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) document.write('<style type="text/css">body { margin: 0; } canvas { id: "Canvas"; width: 100%; } </style>');
- else document.write('<style type="text/css">body { margin: 0; } canvas { id: "Canvas"; width: 30%; } </style>');
- </script>
- </head>
- <body>
- <script type="text/javascript">
- var config = {
- type: Phaser.AUTO,
- width: 975,
- height: 1550,
- backgroundColor: '#313191',
- scene: [ Inicio, Resultados, Jogo ]
- };
- var game = new Phaser.Game(config);
- </script>
- </body>
- </html>
|