| 1 | <!DOCTYPE html> |
| 2 | <html lang="en"> |
| 3 | <head> |
| 4 | <meta charset="utf-8"> |
| 5 | <title>Tile MMO</title> |
| 6 | <link rel="stylesheet" href="/ui/play.css"> |
| 7 | </head> |
| 8 | <body> |
| 9 | <div id="hud" hidden> |
| 10 | <span id="you"></span> |
| 11 | <span>Walk/run: <strong id="gait">walk</strong> (press R)</span> |
| 12 | <span>Zoom: <strong id="zoom">2.00×</strong> (scroll)</span> |
| 13 | <button id="friends-toggle" type="button">Friends</button> |
| 14 | <button id="leave" type="button">Leave world</button> |
| 15 | </div> |
| 16 | <aside id="friends-panel" hidden> |
| 17 | <h2>Friends</h2> |
| 18 | <div id="friends-list"></div> |
| 19 | <h3>Incoming</h3> |
| 20 | <div id="incoming-list"></div> |
| 21 | <h3>Outgoing</h3> |
| 22 | <div id="outgoing-list"></div> |
| 23 | <p class="hint">Later, sending a pigeon can type a first and last name or pick a friend to fill those fields.</p> |
| 24 | </aside> |
| 25 | <div id="nametag" hidden></div> |
| 26 | <div id="inspect-backdrop" hidden></div> |
| 27 | <div id="inspect-modal" hidden> |
| 28 | <header> |
| 29 | <h2 id="inspect-name">Player</h2> |
| 30 | <button id="inspect-close" type="button">Close</button> |
| 31 | </header> |
| 32 | <p id="inspect-error" class="error"></p> |
| 33 | <div id="inspect-action"></div> |
| 34 | </div> |
| 35 | <div id="overlay"> |
| 36 | <section class="panel"> |
| 37 | <h1>Tile MMO</h1> |
| 38 | <p id="status">Connecting…</p> |
| 39 | <p id="error" class="error"></p> |
| 40 | <form id="create-form"> |
| 41 | <label>First name <input id="first-name" required></label> |
| 42 | <label>Last name <input id="last-name" required></label> |
| 43 | <label>Sex |
| 44 | <select id="sex"> |
| 45 | <option value="male">Male</option> |
| 46 | <option value="female">Female</option> |
| 47 | </select> |
| 48 | </label> |
| 49 | <button type="submit">Create character</button> |
| 50 | </form> |
| 51 | <div id="character-list"></div> |
| 52 | <p class="hint">Open chunk 0,0 in the <a href="/editor">world editor</a>, save, then Apply now before walking.</p> |
| 53 | </section> |
| 54 | </div> |
| 55 | <script src="/framework/framework.js"></script> |
| 56 | <script type="module" src="/src/play/main.js"></script> |
| 57 | </body> |
| 58 | </html> |