index.html 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Inspector - test</title>
  5. <meta charset='utf-8' />
  6. <meta name="viewport" content="width=device-width, user-scalable=no">
  7. <!--Babylon-->
  8. <script src="../Tools/DevLoader/BabylonLoader.js"></script>
  9. <style>
  10. html,
  11. body {
  12. width: 100%;
  13. height: 100%;
  14. padding: 0;
  15. margin: 0
  16. }
  17. #wrapper {
  18. width: 100%;
  19. height: 100%;
  20. display: flex;
  21. overflow: hidden;
  22. }
  23. canvas {
  24. width: 100%;
  25. height: 100%;
  26. }
  27. #inspector {
  28. width: 25%;
  29. }
  30. </style>
  31. </head>
  32. <body>
  33. <div id="wrapper">
  34. <canvas id='game-canvas'></canvas>
  35. <!-- <div id="inspector"></div> -->
  36. </div>
  37. <!--Starting the game-->
  38. <script>
  39. BABYLONDEVTOOLS.Loader.require("test/index.js").load(function() {
  40. new Test('game-canvas');
  41. });
  42. </script>
  43. </body>
  44. </html>