You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.2KB

  1. <!doctype html>
  2. <html>
  3. <head>
  4. <title>Vorple</title>
  5. <meta charset="utf-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <link rel="stylesheet" type="text/css" href="interpreter/main.css">
  8. </head>
  9. <body>
  10. <main id="haven">
  11. <div id="output">
  12. <div id="window0" aria-live="polite" aria-atomic="false" aria-relevant="additions"></div>
  13. </div>
  14. <form id="lineinput">
  15. <label id="lineinput-prefix" for="lineinput-field">&gt; </label>
  16. <input name="lineinput" placeholder="Enter a command" id="lineinput-field" type="text" autocomplete="off" autocapitalize="none">
  17. </form>
  18. <div id="loader">
  19. <h2 id="loader-message">Loading scripts</h2>
  20. <div id="spinner">V</div>
  21. </div>
  22. </main>
  23. <script src="interpreter/vorple.min.js"></script>
  24. <script>
  25. vorple.options = {
  26. autosave: false,
  27. engineColors: false,
  28. resource_paths: {
  29. images: "resources/images",
  30. audio: "resources/audio"
  31. },
  32. // URL to the game file
  33. story: "Wand.ulx"
  34. };
  35. Module.locateFile = function( name ) {
  36. return "interpreter/" + name;
  37. };
  38. vorple.debug.off();
  39. vorple.init();
  40. </script>
  41. </body>
  42. </html>