-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
57 lines (47 loc) · 1.09 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<title>FOG VR</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<link type="text/css" rel="stylesheet" href="places.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Xanh+Mono&display=swap" rel="stylesheet">
</head>
<body>
<script type="text/javascript">
// char lifecycle
ALIVE = 0
DYING = 1
DEAD = 2
// a state beyond death
CORRUPTING = 3
// to make cam pos agree with where your eyes are (ish)
PLAYERHEIGHT = 0.3
FLOOR = 0.9
MOVE = 0
WAIT = 1
DEMO = 0
RELAXINGRAIN = 1
CLOSED = 0
OPENING = 1
CLOSING = 2
OPEN = 3
UNPUSHED = 0
PUSHING = 1
UNPUSHING = 2
PUSHED = 3
// drop item types
ALBUM = 0
BUTTON = 1
// go stone colors
BLACK = true
WHITE = false
// DEG360 = 6.283185307179586
DEG360 = Math.PI*2
</script>
<script type="module">
import * as main from '/lib/main.js'
</script>
</body>
</html>