summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorMark Powers <mark@marks.kitchen>2022-02-19 21:00:19 -0600
committerMark Powers <mark@marks.kitchen>2022-02-19 21:00:19 -0600
commit6867994e8a8742c78d38ee4b97c6632c305d9fc6 (patch)
treebea7685555d0ba5de3807135cc88918266bfed6e /index.html
Initial commit
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