index.html 539 B

12345678910111213141516171819202122
  1. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  2. <style type="text/css">
  3. html,body{
  4. margin: 0;
  5. padding: 0;
  6. font-family: Arial, sans-serif;
  7. }
  8. #game-container {
  9. width: 100%;
  10. height: 100%;
  11. z-index: 1;
  12. }
  13. </style>
  14. <div id="game-container"></div>
  15. <script type="text/javascript" src="all.min.js"></script>
  16. <script type="text/javascript">
  17. document.addEventListener("DOMContentLoaded", function(event) {
  18. window.system = new System();
  19. system.create("game-container", new GravityWellGame(), "#000000");
  20. });
  21. </script>