12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <!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>
- html,
- body {
- width: 100%;
- height: 100%;
- padding: 0;
- margin: 0
- }
-
- #wrapper {
- width: 100%;
- height: 100%;
- display: flex;
- overflow: hidden;
- }
-
- canvas {
- width: 100%;
- }
-
- #inspector {
- width: 25%;
- }
- </style>
- </head>
- <body>
- <div id="wrapper">
- <canvas id='game-canvas'></canvas>
- <!-- <div id="inspector"></div> -->
- </div>
- <!--Starting the game-->
- <script>
- BABYLONDEVTOOLS.Loader.require("test/index.js").load(function () {
- new Test('game-canvas');
- });
- </script>
- </body>
- </html>
|