1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <!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%;
- height: 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>
|