« get me outta code hell

index.html - csb-game - Pixelly spin-off of the Command Synergy Battle system used in Final Fantasy XIII
summary refs log tree commit diff
path: root/index.html
blob: 6f6ad3f9154b9fe5de8542bc07f81fb97867c393 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<title>Game experiment</title>
<meta charset="utf-8">
<style>
@font-face {
  font-family: 'pixel-font';
  src: url('teeny-tiny-pixls.otf') format('opentype');
}

body {
  font-family: 'pixel-font';
  font-size: 5px;
  background: black;
  color: white;
}

canvas {
  image-rendering: optimizeSpeed;
}
</style>
Nice.
<canvas id="canvas" tabindex="1" width="400" height="240"></canvas>
<script src="index.js"></script>