123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <!DOCTYPE html>
- <html>
- <head>
- <title>Inspector - test</title>
- <meta charset='utf-8'/>
- <meta name="viewport" content="width=device-width, user-scalable=no">
- <!--Babylon-->
- <script src="../tools/DevLoader/BabylonLoader.js"></script>
- <style>
- .mini {
- width:100%;
- margin:auto;
- height:100%;
- }
-
- html, body {
- width: 100%;
- height:100%;
- margin:0;
- padding:0;
- overflow:hidden;
- font-family:sans-serif;
- }
- #game-canvas {
- width:100%;
- height:100%;
- }
- </style>
- </head>
- <body>
- <!--The game canvas-->
- <div class="mini">
- <canvas id="game-canvas"></canvas>
- </div>
- <!--Starting the game-->
- <script>
- BABYLONDEVTOOLS.Loader.require("test/index.js").load(function() {
- new Test('game-canvas');
- });
- </script>
- </body>
- </html>
|