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