-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
87 lines (75 loc) · 2.5 KB
/
index.html
File metadata and controls
87 lines (75 loc) · 2.5 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>POINTFALL</title>
</head>
<body>
<!-- Start Screen -->
<div id="start-screen" class="hidden">
<h1 class="title">POINTFALL</h1>
<p class="subtitle">"Something went wrong..."</p>
<button class="start-button">CLICK TO START</button>
</div>
<!-- Game Canvas -->
<canvas id="game-canvas"></canvas>
<!-- UI -->
<div id="ui-overlay">
<div id="crosshair"></div>
<div id="hud">
<div>Level: <span id="level">1</span></div>
</div>
<div id="inventory-hud">
<div class="inventory-title">INVENTORY</div>
<div id="inventory-items">
</div>
</div>
<div id="objective">
<div class="objective-title">OBJECTIVE:</div>
<div id="objective-text">Talk to survivors</div>
</div>
<div id="interaction-prompt">[E] Talk</div>
<div id="dialogue-box">
<div class="dialogue-speaker" id="dialogue-speaker"></div>
<div class="dialogue-text" id="dialogue-text"></div>
<!-- <div style="margin-top: 10px; font-size: 12px; color: #888;">Click to close</div> -->
</div>
<div id="choice-box">
<div class="dialogue-speaker" id="choice-speaker"></div>
<div class="dialogue-text" id="choice-prompt"></div>
<div class="choice-buttons">
<button id="choice-btn-1"></button>
<button id="choice-btn-2"></button>
</div>
</div>
<!-- <div id="debug-controls" style="
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 10px;
">
<button id="load-normal" class="debug-button">Load Normal</button>
<button id="load-crashed" class="debug-button">Load Crashed</button>
<button id="toggle-auto" class="debug-button">Auto: ON</button>
</div> -->
</div>
<div id="pause-menu" class="hidden">
<div class="pause-content">
<h2 class="title">PAUSE</h2>
<button id="resume-button" class="start-button">Continue</button>
<button id="restart-button" class="start-button">Restart</button>
</div>
</div>
<div id="end-screen" class="hidden">
<div class="pause-content">
<h2 class="title" id="end-title"></h2>
<p class="subtitle" id="end-subtitle"></p>
<button id="restart-button-end" class="start-button">Start again</button>
</div>
</div>
<script type="module" src="/src/main.js"></script>
</body>
</html>