-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgame_over.html
More file actions
72 lines (63 loc) · 1.75 KB
/
game_over.html
File metadata and controls
72 lines (63 loc) · 1.75 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
<html>
<head>
<link href='https://fonts.googleapis.com/css?family=Eater' rel='stylesheet'>
<link href='https://fonts.googleapis.com/css?family=Flavors' rel='stylesheet'>
<title>Sky Shooter</title>
<style>
body{
margin: 0;
overflow: hidden;
color:white;
background-color: black;
}
#title {
font-size: 5em;
font-family: 'Eater';
color: yellow;
width:100%;
text-align:center;
float:left;
}
#game_over {
font-size: 3em;
font-family: 'Eater';
color: white;
width:100%;
text-align:center;
float:left;
}
#score_val, #text {
font-size: 2em;
width:100%;
text-align:center;
float:left;
font-family: 'Flavors';
}
#coin {
width: 50px;
height: 50px;
-webkit-border-radius: 25px;
-moz-border-radius: 25px;
border-radius: 25px;
background: rgb(214, 214, 23);
}
</style>
</head>
<body onload="get_end_score()">
<p>
<div id="title">Sky Shooter</div>
<div id="text"></div>
<div class="game_over" id="game_over">Game Over</div>
<div class="text" id="text"> You get:</div>
<div id="score_val" class="score">
</div>
<div class="text" id="text">
<img src="assets/images/coin.png" width="60" height="60">
</div>
</p>
<canvas id="myCanvas"></canvas>
<script src="./js/three.js"></script>
<script src="./js/GLTFLoader.js"></script>
<script src="./js/main.js"></script>
</body>
</html>