set default scale to 3x.

fix a map typo.
This commit is contained in:
Colin McMillen 2019-09-24 20:54:10 -04:00
parent 822a5a108e
commit f8a3be556d

View File

@ -382,7 +382,7 @@ class TileRenderer {
"-.*,`OO'_`'*-0-O"];
const layer2 = [" ",
" ",
" iil ",
" iil ",
" ",
" A ",
" ",
@ -393,7 +393,7 @@ class TileRenderer {
" l ",
" ",
" c R ",
" "];
" c "];
const spriteLookup = {
'.': sprites.ground0,
',': sprites.ground1,
@ -492,7 +492,7 @@ function init() {
document.getElementById('3x').onclick = () => setCanvasScale(3);
document.getElementById('4x').onclick = () => setCanvasScale(4);
document.getElementById('5x').onclick = () => setCanvasScale(5);
setCanvasScale(4);
setCanvasScale(3);
window.requestAnimationFrame(loop(world, gfx));
debug('initialized!');
}