-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
22 lines (22 loc) · 887 Bytes
/
Copy pathindex.html
File metadata and controls
22 lines (22 loc) · 887 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
<meta name="description" content="Casual Web Game Template - Endless Runner built with Phaser 3 + TypeScript" />
<title>Web Game Template</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; height: 100%; overflow: hidden; background: #111; }
#game-container { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
canvas { display: block; }
.loading { color: #fff; font-family: monospace; font-size: 1.2rem; }
</style>
</head>
<body>
<div id="game-container">
<div class="loading">Loading...</div>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>