-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·38 lines (32 loc) · 1.08 KB
/
index.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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<title>Phaser - Making your first game, part 9</title>
<script type="text/javascript" src="js/phaser.min.js"></script>
<script type="text/javascript" src="js/constants.js"></script>
<script type="text/javascript" src="js/player.js"></script>
<script type="text/javascript" src="js/experience.js"></script>
<script type="text/javascript" src="js/item.js"></script>
<script type="text/javascript" src="js/item-definitions.js"></script>
<script type="text/javascript" src="js/game.js"></script>
<style type="text/css">
body {
margin: 0;
background-color: whitesmoke;
background-image: url("assets/bckd.png");
}
canvas{
position: absolute;
margin: auto;
top: 0;
right: 0;
bottom: 0;
left: 0;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
</style>
</head>
<body>
</body>
</html>