File size: 2,027 Bytes
ca9ac16
7236faa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ca9ac16
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>SLACK — a monochrome tether climb</title>
    <style>
      html, body {
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
        background: #000;
        overflow: hidden;
        cursor: none;
      }
      #app {
        position: fixed;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #000;
      }
      /* 4:3 stage, letterboxed to fit window */
      #stage {
        position: relative;
        background: #000;
      }
      #game-canvas {
        display: block;
        width: 100%;
        height: 100%;
        image-rendering: pixelated;
      }
      #boot {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 14px;
        color: #d8d8d8;
        font-family: 'Courier New', monospace;
        background: #050505;
        z-index: 10;
        user-select: none;
      }
      #boot h1 {
        font-size: 28px;
        letter-spacing: 10px;
        margin: 0;
        font-weight: 400;
      }
      #boot p {
        font-size: 12px;
        letter-spacing: 3px;
        opacity: 0.65;
        margin: 0;
      }
      #boot .hint { font-size: 11px; opacity: 0.45; letter-spacing: 2px; }
      #boot.hidden { display: none; }
    </style>
    <script type="module" crossorigin src="./assets/index-TEaoTxzn.js"></script>
  </head>
  <body>
    <div id="app">
      <div id="stage">
        <canvas id="game-canvas"></canvas>
        <div id="boot">
          <h1>SLACK</h1>
          <p>CLICK TO TAKE HOLD</p>
          <p class="hint">WASD MOVE &nbsp;·&nbsp; MOUSE LOOK &nbsp;·&nbsp; HOLD LMB TETHER &nbsp;·&nbsp; RMB WEB &nbsp;·&nbsp; SPACE JUMP</p>
        </div>
      </div>
    </div>
  </body>
</html>