GameBoy (Color) port of the GTA San Andreas arcade game Duality
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.

index.html 3.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <html>
  2. <head>
  3. <title>Duality</title>
  4. <link rel="icon" type="image/png" href="favicon.png" />
  5. <style>
  6. body {
  7. background: linear-gradient(
  8. to right,
  9. #000000 0%,
  10. #000000 50%,
  11. #ffffff 50%,
  12. #ffffff 100%
  13. );
  14. }
  15. #wrap, .text {
  16. width: 100%;
  17. max-width: 640px; /* 160px * 4 */
  18. margin: 0px auto;
  19. }
  20. #wrap {
  21. height: 100%;
  22. max-height: 576px; /* 144px * 4 */
  23. border-radius: 5px;
  24. padding: 5px;
  25. }
  26. .text {
  27. text-align: center;
  28. border-radius: 5px;
  29. padding: 5px;
  30. margin-top: 10px;
  31. margin-bottom: 10px;
  32. }
  33. #controls {
  34. margin: 0px auto;
  35. }
  36. body, #wrap, .text {
  37. background-color: #DDDDDD;
  38. color: #000000;
  39. }
  40. @media (prefers-color-scheme: dark) {
  41. body, #wrap, .text {
  42. background-color: #111111;
  43. color: #FFFFFF;
  44. }
  45. }
  46. </style>
  47. </head>
  48. <body>
  49. <div class="text">
  50. <h1>Duality</h1>
  51. </div>
  52. <div id="wrap">
  53. <div id="game"></div>
  54. </div>
  55. <div class="text">
  56. <p>A GameBoy (Color) port of the GTA San Andreas arcade game Duality.</p>
  57. <table id="controls" border="1">
  58. <tr><th>Key</th><th>Action</th></tr>
  59. <tr><td>Arrow Left</td><td>Rotate Left</td></tr>
  60. <tr><td>Arrow Right</td><td>Rotate Right</td></tr>
  61. <tr><td>A (Z)</td><td>Accelerate</td></tr>
  62. <tr><td>B (X)</td><td>Shoot</td></tr>
  63. <tr><td>Start (Enter)</td><td>Pause</td></tr>
  64. <tr><td>Select (V)</td><td>About</td></tr>
  65. </table>
  66. <p>Press Left or Right on the title screen to show either the black or white highscores. Press Select to show the about screen and build info.</p>
  67. <p>Collect small white spheres to get +5 white score. Collect small black spheres to get +5 black score. The opposite color will reduce your score when collected. Large black holes will attract you and damage your ship when touched. Large white spheres will repel you and replenish your health when touched. Accelerating will reduce your fuel, which will recharge when not accelerating. You can shoot large spheres for +10 points.<p>
  68. <p>For a more detailed description of the original game check out the <a href="https://gta.fandom.com/wiki/Duality">Duality article on GTA Wiki</a>.</p>
  69. <hr>
  70. <p>Download the <a href="https://xythobuz.github.io/Duality/duality.gb">ROM</a>!</p>
  71. <p>Get the source code on <a href="https://github.com/xythobuz/Duality">GitHub</a>.</p>
  72. <hr>
  73. <p>Emulation supported by <a href="https://emulatorjs.org">EmulatorJS</a>.</p>
  74. </div>
  75. <script>
  76. EJS_player = "#game";
  77. EJS_core = "gb";
  78. EJS_pathtodata = "https://cdn.emulatorjs.org/stable/data/";
  79. EJS_gameUrl = "https://xythobuz.github.io/Duality/duality.gb";
  80. </script>
  81. <script src="https://cdn.emulatorjs.org/stable/data/loader.js"></script>
  82. </body>
  83. </html>