-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgameplay.html
97 lines (90 loc) · 4.14 KB
/
gameplay.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta property="og:type" content="website">
<meta property="og:site_name" content="FNF Hypertext Engine">
<meta property="og:description" content="A Friday Night Funkin' Engine made in HTML, CSS, and JS.">
<meta property="og:footer" content="Literally, awesome">
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="black" />
<meta property="og:color" content="#7289DA">
<title>Hypertext Engine</title>
<link rel="shortcut icon" href="./icon.ico" type="image/x-icon">
<link rel="stylesheet" href="./style.css">
<script type="text/javascript" src="./scripts/main.js"></script>
<script type="text/javascript" src="./scripts/playstate.js"></script>
<style>
#object-WorldBG {
width:1000px;
height:1000px;
position: absolute;
transform:scale(10.2);
background-color: rgb(160, 160, 160);
}
#healthBar {
position: absolute;
top: 90%;
left: 50%;
transform: translate(-50%,-0px);
padding: 5px;
background-color: black;
}
#healthBar-PL {
width: 600px;
height: 10px;
background-color: rgb(0, 255, 0);
}
#healthBar-OP {
width: 50%;
height: 10px;
background-color: rgb(255, 0, 0);
}
</style>
</head>
<body>
<div class="gameCanvas">
<div id="camWorld">
<div id="object-WorldBG" data-scale="10" data-factor-x="0" data-factor-y="0"></div>
</div>
<div id="camHUD">
<video id="bg-video" autoplay muted></video>
<p class="textStroke" id="latency-text" style="font-size: 24px; top: 5%; width: 100%; text-align: center;">0.0ms</p>
<div id="note-strum-opponent">
<div id="note-group-opponent-sustain"></div>
<img id="strum-note" src="./assets/images/notes/staticleft.png">
<img id="strum-note" src="./assets/images/notes/staticdown.png">
<img id="strum-note" src="./assets/images/notes/staticup.png">
<img id="strum-note" src="./assets/images/notes/staticright.png">
<div id="note-group-opponent"></div>
</div>
<div id="note-strum-player">
<div id="note-group-player-sustain"></div>
<img id="strum-note" src="./assets/images/notes/staticleft.png">
<img id="strum-note" src="./assets/images/notes/staticdown.png">
<img id="strum-note" src="./assets/images/notes/staticup.png">
<img id="strum-note" src="./assets/images/notes/staticright.png">
<div id="note-group-player"></div>
</div>
<div id="healthBar">
<div id="healthBar-PL">
<div id="healthBar-OP">
</div>
</div>
</div>
<p class="textStroke" id="info-text" style="font-size: 16px; top: 95%; width: 100%; text-align: center;">Misses: 0 // Score: 0 // Accuracy: 0% [?]</p>
<p class="textStroke" id="start-text" style="font-size: 20px; top: 80%; width: 100%; text-align: center;">[[Press SPACE to Start]]</p>
<div id="rating-group"></div>
<div id="countdown-group"></div>
</div>
<div id="camOther">
<div id="touch-group">
<div id="touch-input"></div>
<div id="touch-input"></div>
<div id="touch-input"></div>
<div id="touch-input"></div>
</div>
<p id="fps-text" class="textStroke" style="font-size: 16px; top: 10px; left: 10px;">FPS:</p>
</div>
</div>
</body>
</html>