-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathelectron.html
46 lines (38 loc) · 1.02 KB
/
electron.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
<!DOCTYPE html>
<link rel="stylesheet" href="electron.css"<!---->
<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>
canvas {
padding: 0;
margin: 0;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
p {
padding: 0;
margin: 0;
position: absolute;
color:white;
white-space: pre-line;
}
canvas {
background: #000;
display: block;
margin: 0 auto;
}
</style>
<canvas id="map" class="invisable" width="2514" height="1377">
This Game Requires The HTML5 Canvas, And Javascript To Function
</canvas>
<div class="padding">
<!----> <canvas id="game_screen" width="2514" height="1377">
This Game Requires The HTML5 Canvas, And Javascript To Function
</canvas> <!---->
</div>
<p id="debug"></p>
<script type="module" src="lib/utills/KeyManager.js"></script>
<script type="module" src="main.js"></script>