set default scale to 3x.
fix a map typo.
This commit is contained in:
parent
822a5a108e
commit
f8a3be556d
6
main.js
6
main.js
@ -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!');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user