-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
39 lines (37 loc) · 1.35 KB
/
index.html
File metadata and controls
39 lines (37 loc) · 1.35 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta property="og:title": content="title">
<meta name="image" property="og:image" content="https://raw.githubusercontent.com/ajayraveendran/Block-Pain/master/assets/images/Screen%20Shot.png">
<meta name="description" property="og:description" content="A platformer game to help teach me the basics of HTML5 game development. The objective is to avoid falling or hitting any of the spikes. The game has 5 levels which increase in difficulty as you progress.">
<meta name="author" property="og:author" content="Ajay Raveendran">
<meta name="url" property="og:url" content="https://ajayraveendran.github.io/Block-Pain/">
<title>Block-Pain</title>
<style>
html,
body,
#game-container {
margin: 0;
padding: 0;
}
#game-container {
min-width: 100vw;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
#game-container>canvas {
border-radius: 5px;
}
</style>
</head>
<body>
<div id="game-container"></div>
<script src="//cdn.jsdelivr.net/npm/phaser@3.15.1/dist/phaser.js"></script>
<script src="build/block-pain.bundle.js" type="module"></script>
</body>
</html>