index.html 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=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="system.js"></script>
  16. <script type="text/javascript" src="keyboardinput.js"></script>
  17. <script type="text/javascript" src="camera.js"></script>
  18. <script type="text/javascript" src="ship.js"></script>
  19. <script type="text/javascript" src="scenery.js"></script>
  20. <script type="text/javascript" src="bullet.js"></script>
  21. <script type="text/javascript" src="planet.js"></script>
  22. <script type="text/javascript" src="humancontroller.js"></script>
  23. <script type="text/javascript" src="botcontroller.js"></script>
  24. <script type="text/javascript" src="solarsystem.js"></script>
  25. <script type="text/javascript" src="headsupdisplay.js"></script>
  26. <script type="text/javascript" src="gravitywellgame.js"></script>
  27. <script type="text/javascript">
  28. document.addEventListener("DOMContentLoaded", function(event) {
  29. window.system = new System();
  30. system.create("game-container", new GravityWellGame(), "#000000");
  31. });
  32. </script>