summaryrefslogtreecommitdiff
path: root/index.html
blob: 3a60280d9187da276042940e2abbe4b583ce2e72 (plain)
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
<!doctype html>
<html lang="en">

<head>
	<title>Nano Chat</title>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
	<style>
		@font-face {
			font-family: 'Gameboy';
			src: url('Assets/font.ttf');
		}
		canvas {
			transform-origin: top left;
			transform: scale(2, 2);
			position: absolute;
			left: 0;
			top: 0;
		}
	</style>
</head>

<body style="padding:0; margin:0; overflow:hidden;">
    <canvas id="canvas"></canvas>
    <script>
        var FPS = 10;
        var WIDTH = 256;
        var HEIGHT = 192 * 2;
    </script>
    <script src="update-component.js"></script>
    <script src="draw-component.js"></script>
    <script src="keyboard-component.js"></script>
    <script src="mouse-component.js"></script>
	<script src="main.js"></script>
</body>

</html>