summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..3a60280
--- /dev/null
+++ b/index.html
@@ -0,0 +1,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> \ No newline at end of file