TR
games/dmmotor / site / en / index.html · commit 9d248a4
<!doctype html><html lang="en"><head>  <meta charset="utf-8">  <meta name="viewport" content="width=device-width, initial-scale=1">  <title>dmmotor – retro FPS in PHP, play free online</title>  <meta name="description" content="dmmotor: the first-person shooter engine id Software released under the GPL, ported to PHP, playing the free Freedoom levels. Play free in the browser, on a computer or a phone.">  <link rel="canonical" href="https://{{DOMAIN}}/en/">  <link rel="alternate" hreflang="fr" href="https://{{DOMAIN}}/">  <link rel="alternate" hreflang="en" href="https://{{DOMAIN}}/en/">  <link rel="alternate" hreflang="x-default" href="https://{{DOMAIN}}/">  <link rel="icon" href="../images/favicon.png">  <meta property="og:type" content="website">  <meta property="og:title" content="dmmotor">  <meta property="og:description" content="dmmotor: the first-person shooter engine id Software released under the GPL, ported to PHP, playing the free Freedoom levels. Play free in the browser, on a computer or a phone.">  <meta property="og:url" content="https://{{DOMAIN}}/en/">  <meta property="og:image" content="https://{{DOMAIN}}/images/og.png">  <meta property="og:locale" content="en">  <meta name="twitter:card" content="summary_large_image">  <meta name="twitter:title" content="dmmotor">  <meta name="twitter:description" content="dmmotor: the first-person shooter engine id Software released under the GPL, ported to PHP, playing the free Freedoom levels. Play free in the browser, on a computer or a phone.">  <meta name="twitter:image" content="https://{{DOMAIN}}/images/og.png">  <script type="application/ld+json">{  "@context": "https://schema.org",  "@type": "VideoGame",  "name": "dmmotor",  "description": "dmmotor: the first-person shooter engine id Software released under the GPL, ported to PHP, playing the free Freedoom levels. Play free in the browser, on a computer or a phone.",  "url": "https://{{DOMAIN}}/en/",  "genre": [    "First-person shooter",    "Action"  ],  "gamePlatform": [    "Web browser",    "PC",    "Mobile"  ],  "applicationCategory": "Game",  "operatingSystem": "Any",  "image": "https://{{DOMAIN}}/images/og.png",  "screenshot": [    "https://{{DOMAIN}}/images/shot-zombie.png",    "https://{{DOMAIN}}/images/shot-door.png",    "https://{{DOMAIN}}/images/shot-e1m2.png",    "https://{{DOMAIN}}/images/shot-imp.png",    "https://{{DOMAIN}}/images/shot-stats.png"  ],  "isAccessibleForFree": true,  "inLanguage": "en",  "license": "https://www.gnu.org/licenses/old-licenses/gpl-2.0.html",  "potentialAction": {    "@type": "PlayAction",    "target": "https://{{DOMAIN}}/play/"  }}  </script>  <script type="application/ld+json">{  "@context": "https://schema.org",  "@type": "FAQPage",  "mainEntity": [    {      "@type": "Question",      "name": "Do I need to install anything?",      "acceptedAnswer": {        "@type": "Answer",        "text": "No: the game runs in the browser, on a computer or a phone."      }    },    {      "@type": "Question",      "name": "Is it free?",      "acceptedAnswer": {        "@type": "Answer",        "text": "Yes, completely: the engine is GPL and the Freedoom content is BSD."      }    },    {      "@type": "Question",      "name": "Is there music?",      "acceptedAnswer": {        "@type": "Answer",        "text": "Yes: the Freedoom songs are played live by an FM synthesizer written in PHP, like the sound cards of the time."      }    },    {      "@type": "Question",      "name": "Which games are included?",      "acceptedAnswer": {        "@type": "Answer",        "text": "Freedoom Phase 1 (four episodes) and Freedoom Phase 2 (32 levels), chosen at start."      }    }  ]}  </script>  <style>    :root { --bg: #120806; --panel: #22100c; --text: #f4e6d8; --muted: #c9b29d; --red: #d82a1e; --gold: #f2b233; }    * { box-sizing: border-box; }    body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; }    a { color: var(--gold); }    nav { max-width: 1000px; margin: 0 auto; padding: 12px 16px 0; text-align: right; font-size: 15px; }    main { max-width: 1000px; margin: 0 auto; padding: 8px 16px 64px; }    header { text-align: center; padding: 8px 0; }    .hero { display: block; width: 100%; max-width: 800px; margin: 0 auto; image-rendering: pixelated; border: 3px solid #3a1b14; border-radius: 6px; }    h1 { font-size: clamp(36px, 8vw, 64px); margin: 18px 0 4px; letter-spacing: 3px; color: var(--red); text-shadow: 3px 3px 0 #000; text-transform: uppercase; }    .tag { color: var(--muted); font-size: 19px; margin: 0; }    h2 { margin: 48px 0 12px; font-size: 26px; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; }    h3 { margin: 20px 0 4px; font-size: 18px; }    p, li { color: var(--muted); }    b { color: var(--text); }    .play { display: inline-block; margin: 22px 0 6px; padding: 16px 48px; border-radius: 10px; background: var(--red); color: #fff;      font-weight: 900; font-size: 24px; letter-spacing: 2px; text-decoration: none; box-shadow: 0 6px 0 #7a120b; }    .play:active { transform: translateY(3px); box-shadow: 0 3px 0 #7a120b; }    .shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }    figure { margin: 0; background: var(--panel); border-radius: 8px; overflow: hidden; }    figure img { display: block; width: 100%; height: auto; image-rendering: pixelated; }    figcaption { padding: 8px 12px; font-size: 14px; color: var(--muted); }    ul { padding-left: 20px; }    .again { text-align: center; }    footer { text-align: center; font-size: 14px; color: var(--muted); padding: 24px 16px 40px; }  </style></head><body>  <nav><a href="../" hreflang="fr">Français</a></nav>  <main>    <header>      <img class="hero" src="../images/title.png" alt="dmmotor — Freedoom Phase 1" width="640" height="480">      <h1>dmmotor</h1>      <p class="tag">A 90s first-person shooter, rewritten in PHP, running in your browser.</p>      <a class="play" href="../play/">PLAY</a>    </header>    <h2>The game</h2>    <p>Industrial mazes, overrun bases, key card doors, secret switches, lifts and traps: <b>dmmotor</b> plays <b>Freedoom Phase 1</b> (four episodes of nine levels) and <b>Freedoom Phase 2</b> (32 levels), with their monsters, weapons, sounds and music. Save games, automap, keyboard, mouse, gamepad or touch controls.</p>    <p>The engine is a <b>PHP port of the source code id Software released under the GPL v2</b> (linuxdoom-1.10): BSP rendering of walls, floors and ceilings, sprites, monster AI, weapons, doors and lifts, translated file by file. It runs on <a href="https://jumphp.net">JumPHP</a>, PHP compiled to WebAssembly: nothing to install.</p>    <h2>Screenshots</h2>    <div class="shots">      <figure><img src="../images/shot-zombie.png" alt="A zombie shot down with the pistol in the first level" width="640" height="480" loading="lazy"><figcaption>A zombie shot down with the pistol in the first level</figcaption></figure>      <figure><img src="../images/shot-door.png" alt="An open door, zombies coming" width="640" height="480" loading="lazy"><figcaption>An open door, zombies coming</figcaption></figure>      <figure><img src="../images/shot-e1m2.png" alt="The start of the second level, outdoors" width="640" height="480" loading="lazy"><figcaption>The start of the second level, outdoors</figcaption></figure>      <figure><img src="../images/shot-imp.png" alt="A fireball thrown by an imp" width="640" height="480" loading="lazy"><figcaption>A fireball thrown by an imp</figcaption></figure>      <figure><img src="../images/shot-stats.png" alt="The end of level stats: kills, items, secrets, time" width="640" height="480" loading="lazy"><figcaption>The end of level stats: kills, items, secrets, time</figcaption></figure>    </div>    <h2>Controls</h2>    <ul>      <li><b>Keyboard</b> — Arrows or WASD / ZQSD: move and turn — A/Q, D: strafe — Ctrl, F or click: fire — mouse: turn — Space or E: open, use — Shift: walk — 1 to 7: weapons — Tab: map — Esc: pause, save</li>      <li><b>Gamepad</b> — Stick: move — RT or X: fire — A: use — LB / RB: strafe — Y: next weapon — Start: pause</li>      <li><b>Phone</b> — On-screen stick, FIRE and USE buttons, MENU to pause</li>    </ul>    <p class="again"><a class="play" href="../play/">Start playing</a></p>    <h2>Licences and credits</h2>    <p>Engine: id Software's source code released under the <b>GNU GPL v2</b>, ported to PHP for dmmotor; the code of this port is under the same licence and <a href="https://git.jumphp.net/duchnoun/dmmotor">its source is public</a>.</p>    <p>Game content: <a href="https://freedoom.github.io">Freedoom</a> (levels, graphics, sounds), BSD licence, © the contributors to the Freedoom project.</p>    <p>dmmotor is not affiliated with or endorsed by id Software, ZeniMax or Bethesda.</p>    <h2>FAQ</h2>    <h3>Do I need to install anything?</h3>    <p>No: the game runs in the browser, on a computer or a phone.</p>    <h3>Is it free?</h3>    <p>Yes, completely: the engine is GPL and the Freedoom content is BSD.</p>    <h3>Is there music?</h3>    <p>Yes: the Freedoom songs are played live by an FM synthesizer written in PHP, like the sound cards of the time.</p>    <h3>Which games are included?</h3>    <p>Freedoom Phase 1 (four episodes) and Freedoom Phase 2 (32 levels), chosen at start.</p>  </main>  <footer>dmmotor — GPL v2 · Freedoom — BSD · <a href="https://jumphp.net">JumPHP</a></footer></body></html>