-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGameEngine.html
101 lines (84 loc) · 2.83 KB
/
GameEngine.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href='https://fonts.googleapis.com/css?family=Audiowide|Iceland|Monoton|Pacifico|Press+Start+2P|Vampiro+One' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="./style.css" l="stylesheet" href="./style.css">
<link rel="stylesheet" href="src/stylehints.css">
<link href='https://fonts.googleapis.com/css?family=Bangers' rel='stylesheet'>
<style>
#imagine {
place-content: above;
}
#levelScreen {
border: 1px;
border-style: groove;
border-radius: 25px;
position: absolute;
box-sizing: border-box;
padding: auto;
top: 25%;
left: 10%;
z-index: 2;
}
#Squares {
z-index: 5;
}
img {
position: absolute;
top: 30%;
left: 35%;
}
#squareIt {
position: absolute;
top: 200px;
left: 800px;
width: 350px;
height: 350px;
}
#layering {
position: absolute;
top: 30%;
left: 35%;
width: 405px;
height: 405px;
}
.imgB1 {
z-index: 4;
}
</style>
</head>
<body>
<layer id="imagine" above top="20%" left="20%" width="600" height="480">
<canvas id="layering" top="20%" left="20%" width="405" height="405" style="z-index: 15;">
</canvas>
<img class="imgB1" id="try" src=game_fame_personalities/bill_gates.jpg width="405" height="405">
</layer>
<layer id="level stuff" top="300" left="0" width="450%" height="250%" style="z-index: 2;">
<br>
<canvas id="levelScreen" height="480%" width="1100%">
</canvas>
</layer>
<layer id="Squares" above top="300" left="1200" width="600" height="480">
<canvas id="squareIt"></canvas>
</layer>
<layer id="Background stuff" below top="100" style="z-index: 1;">
<div class="page-bg"></div>
<div class="animation-wrapper" style="z-index: 10;">
<div class="particle particle-1"></div>
<div class="particle particle-2"></div>
<div class="particle particle-3"></div>
<div class="particle particle-4"></div>
<div class="page-wrapper">
<h3>Game of Fame </h3>
<p id="scoreIt" class="score-para "> Score: 0 </p>
<p id="levelIt" class="level-para">Level:1</p>
</div>
</div>
</layer>
<script src="src/mainGame.js ">
</script>
</body>
</html>