Repository navigation
Expand file tree
/
Copy pathtryhelljump.html
More file actions
246 lines (210 loc) · 5.99 KB
/
Copy pathtryhelljump.html
File metadata and controls
246 lines (210 loc) · 5.99 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="icon" href="./images/HellJumpIcon.ico" type="image/x-icon">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Play Hell Jump</title>
<style>
:root {
--primary: #ffda0b;
--primary-dark: #e6c400;
--dark: #1e293b;
--darker: #0f172a;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: system-ui, -apple-system, sans-serif;
background: var(--darker);
color: #e2e8f0;
}
/* HEADER */
header {
background: rgba(15, 23, 42, 0.94);
padding: 0.75rem 5%;
display: flex;
justify-content: space-between;
align-items: center;
position: sticky;
top: 0;
z-index: 1000;
border-bottom: 1px solid rgba(255,255,255,0.12);
box-shadow: 0 12px 30px rgba(0,0,0,0.28);
backdrop-filter: blur(14px);
}
.logo-link {
display: flex;
align-items: center;
gap: 10px;
color: white;
text-decoration: none;
font-weight: 700;
padding: 6px 10px 6px 6px;
border-radius: 8px;
}
.logo-link:hover,
.back-link:hover {
background: rgba(255,255,255,0.08);
}
.logo-link img {
width: 34px;
height: 34px;
border-radius: 8px;
}
.back-link {
color: white;
text-decoration: none;
padding: 10px 16px;
border-radius: 8px;
font-weight: 650;
}
/* HERO */
.hero {
min-height: 45vh;
padding: 70px 5%;
background: linear-gradient(160deg, #1a0000 0%, #3d0000 50%, #1e293b 100%);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
}
.hero img {
width: 100px;
height: 100px;
filter: drop-shadow(0 0 20px rgba(255,218,11,0.5));
}
.hero h1 {
font-size: 4rem;
color: var(--primary);
margin: 20px 0 10px;
letter-spacing: 0.05em;
}
.hero p {
color: #cbd5e1;
font-size: 1.3rem;
}
/* GAME */
section {
padding: 70px 5%;
}
.container {
max-width: 1100px;
margin: auto;
}
h2 {
color: var(--primary);
font-size: 2.2rem;
}
.game-box {
background: #2d2d44;
border: 1px solid #3d3d5c;
border-radius: 10px;
padding: 20px;
}
.game-frame {
width: 100%;
aspect-ratio: 16 / 9;
background: black;
border-radius: 8px;
overflow: hidden;
}
.game-frame iframe {
width: 100%;
height: 100%;
border: none;
}
.info {
color: #94a3b8;
margin-top: 15px;
}
/* FOOTER */
footer {
text-align: center;
padding: 40px;
background: var(--dark);
color: #64748b;
}
footer a {
color: var(--primary);
text-decoration: none;
}
.fullscreen-btn {
background: var(--primary);
color: #1a0000;
border: none;
padding: 12px 24px;
border-radius: 6px;
font-weight: 700;
cursor: pointer;
margin-bottom: 15px;
display:block;
margin:0 auto 15px;
}
.fullscreen-btn:hover {
background: var(--primary-dark);
}
@media (max-width: 640px) {
.hero h1 {
font-size: 2rem;
}
.hero p {
font-size: 1rem;
}
section {
padding: 35px 4%;
}
}
</style>
</head>
<body>
<header>
<a href="https://purplecontroller.github.io" class="logo-link">
<img src="./images/Purple controller.png" alt="Purple Controller logo">
<strong>Purple Controller</strong>
</a>
<a href="https://purplecontroller.github.io/helljump" class="back-link">
← Back
</a>
</header>
<div class="hero">
<img src="./images/HellJumpIcon.png" alt="Hell Jump icon">
<h1>Play Hell Jump</h1>
<p>A hellish platformer playable in your browser.</p>
</div>
<section>
<div class="container">
<h2>Hell Jump Web Edition</h2>
<div class="game-box">
<div class="game-frame" id="game-frame">
<iframe src="./Hell Jump Demo/index.html" id="game" title="Hell Jump Web Edition" allowfullscreen></iframe>
</div>
<p class="info">
Use a modern web browser (Brave or Firefox recommended). If you have issues, enable cross-origin isolation in your browser settings for the best experience, or try using a different browser or updating your current one.
</p>
<button class="fullscreen-btn" onclick="fullscreenGame()">
Fullscreen
</button>
</div>
</div>
</section>
<footer>
© 2026 <a href="https://purplecontroller.github.io">Purple Controller</a>
</footer>
<script>
function fullscreenGame() {
const game = document.getElementById("game-frame");
if (game.requestFullscreen) {
game.requestFullscreen();
} else if (game.webkitRequestFullscreen) {
game.webkitRequestFullscreen();
} else if (game.msRequestFullscreen) {
game.msRequestFullscreen();
}
}
</script>
</body>
</html>