-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathindex.html
More file actions
48 lines (37 loc) · 897 Bytes
/
Copy pathindex.html
File metadata and controls
48 lines (37 loc) · 897 Bytes
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
<!doctype html>
<!--
prototype4 - a game by Sebastian Volland
Source code: https://github.com/sebcode/prototype4/
-->
<title>prototype4</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<style>
@font-face {
font-family: 'atari';
font-style: normal;
font-weight: normal;
src: local('atari'), url('ATARCS__.TTF') format('truetype');
}
body {
background-color: black;
margin: 0;
padding: 0px;
/* no rubber banding / double tap zoom on touch devices */
overflow: hidden;
touch-action: none;
-webkit-user-select: none;
user-select: none;
}
canvas {
border: 1px solid #222;
cursor: url(crosshair.cur) 16 16, crosshair;
margin: auto;
position: absolute;
left: 0;
right: 0;
bottom: 0;
top: 0;
}
</style>
<script type="module" src="game/Game.js"></script>
<canvas id="canvas" width="640" height="480"></canvas>