-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgame.html
More file actions
116 lines (106 loc) · 2.68 KB
/
game.html
File metadata and controls
116 lines (106 loc) · 2.68 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
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<!DOCTYPE html>
<html>
<head>
<title>COMPUTER PLINKO 🖲🎯</title>
<meta charset="UTF-8">
<meta name="viewport" width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0>
<link href="https://fonts.googleapis.com/css?family=Gugi" rel="stylesheet">
<script src="./libs/p5.min.js"></script>
<script src="./libs/p5.dom.min.js"></script>
<script src="./libs/matter.js"></script>
<script src="./game/game.js"></script>
<script src="./game/ball.js"></script>
<script src="./game/level.js"></script>
<script src="./game/levelPlaying.js"></script>
<script src="./game/levelSetup.js"></script>
<script src="./game/levelDropping.js"></script>
<script src="./game/triangleUtil.js"></script>
<script src="./game/levelSelector.js"></script>
<script src="./game/mainMenu.js"></script>
<script src="./game/scoreTicker.js"></script>
</head>
<style type="text/css">
* {
background: #bababf;
}
button {
position: absolute;
background: rgb(242, 232, 213);
color: rgb(242, 73, 118);
font-family: Gugi;
font-size: 25px;
height: 50px;
width: 225px;
border: none;
border-radius: 15px;
}
button:hover{
background: pink;
}
.returnButton {
position: absolute;
background: rgb(242, 232, 213);
color: rgb(242, 73, 118);
font-family: Gugi;
font-size: 20px;
z-index: 4;
height: 50px;
width: 176px;
transform: translate(-50%, 0%);
left: 50%;
margin-top: 20%;
/*top: 40%*/
/*bottom 50%;*/
border: none;
border-radius: 15px;
}
.returnButton:hover{
background: pink;
}
.sidebar {
height: 100vh;
min-height:700px;
position: absolute;
top: 0px;
right: 0px;
width: 350px;
background-color: #545861;
/*box-shadow: -7px 0px 5px #c1c1c1;*/
align-content: center;
z-index: 3;
}
.title{
width: 650px;
height: 100px;
background: transparent;
color: rgb(242, 73, 118);
font-family: Gugi;
font-size: 80px;
}
.permitted{
height: 195px;
overflow: hidden;
/*padding-top: 200px;*/
padding-top: 50%;
padding-bottom: 0px;
text-align: center;
color: rgb(242, 73, 118);
background: transparent;
z-index: 4;
font-family: Gugi;
font-size: 195px;
}
.triLeft{
padding-top: 10%;
color: rgb(242, 73, 118);
text-align: center;
z-index: 4;
background: transparent;
font-family: Gugi;
font-size: 40px;
}
</style>
<body>
<div id="c1"></div>
</body>
</html>