« 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: 50ee295e5b442527904eca108567f20c81a66efa (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"></canvas>
<script src="index.js"></script>