forked from loglot/yet-another-2d-platformer-archive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
61 lines (50 loc) · 1.25 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<link rel="icon" type="image/x-icon"
href="https://raw.githubusercontent.com/loglot/Yet-Another-Collectathon/main/logo.ico">
<title>Yet Another 2d Platformer</title>
<style>
* {
padding: 0;
margin: 0;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
canvas {
background: #5555ff;
display: block;
margin: 0 auto;
}
</style>
<body style="background-color:rgb(0, 0, 0);"></body>
<!----> <canvas id="game_screen" width="2514" height="1377">
This Game Requires The HTML5 Canvas, And Javascript To Function
</canvas> <!---->
<canvas id="balls" width="2514" height="1377"></canvas>
<div class = "a">
<canvas id="PostProcessing" width="2514" height="1377"></canvas>
</div>
<canvas id="UI" width="2514" height="1377"></canvas>
<style>
#balls {
background: rgba(0, 0, 0, 0);
display: block;
margin: 0 auto;
}
#PostProcessing {
background: rgba(0, 0, 0, 0);
display: block;
margin: 0 auto;
}
#UI {
background: rgba(0, 0, 0, 0);
display: block;
margin: 0 auto;
}
.a {
display: block;
filter: blur(30px)
}
</style>
<script type="module" src="main.js"></script>