index.html 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  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="mouseinput.js"></script>
  17. <script type="text/javascript" src="keyboardinput.js"></script>
  18. <script type="text/javascript" src="camera.js"></script>
  19. <script type="text/javascript" src="place.js"></script>
  20. <script type="text/javascript" src="character.js"></script>
  21. <script type="text/javascript" src="player.js"></script>
  22. <script type="text/javascript" src="background.js"></script>
  23. <script type="text/javascript" src="dialog.js"></script>
  24. <script type="text/javascript" src="curtain.js"></script>
  25. <script type="text/javascript" src="humancontroller.js"></script>
  26. <script type="text/javascript" src="headsupdisplay.js"></script>
  27. <script type="text/javascript" src="mainmenu.js"></script>
  28. <script type="text/javascript" src="world.js"></script>
  29. <script type="text/javascript" src="2018js13kgame.js"></script>
  30. <script type="text/javascript">
  31. document.addEventListener("DOMContentLoaded", function(event) {
  32. window.system = new System();
  33. system.create("game-container", new Game(), "#000000");
  34. });
  35. </script>