Commit Graph

10 Commits

Author SHA1 Message Date
Colin McMillen
aed6bdd877 create a CharacterSprite class
add ability to switch between character graphics by pressing R
2019-09-25 15:06:27 -04:00
Colin McMillen
6d5e92faec move xxArrowPressed globals into the Input class 2019-09-25 13:29:26 -04:00
Colin McMillen
d06c5a49c4 add SNES_WIDTH and SNES_HEIGHT constants 2019-09-25 10:40:10 -04:00
Colin McMillen
0ebdf6f47f autoscale canvas based on browser dimensions.
add more canvas scale options.
hide canvas element until scale is set.
2019-09-25 10:24:31 -04:00
Colin McMillen
1506b7a3eb make image-rendering: pixelated work in firefox
set default scale back to 4x
2019-09-24 21:21:23 -04:00
Colin McMillen
f8a3be556d set default scale to 3x.
fix a map typo.
2019-09-24 20:54:10 -04:00
Colin McMillen
822a5a108e add basic keyboard controls 2019-09-24 20:16:01 -04:00
Colin McMillen
ce3ee42c4e add tiled background rendering and one ghosty boi 2019-09-24 19:44:08 -04:00
Colin McMillen
d7a88b6d67 remove unused variable 2019-09-24 15:08:04 -04:00
Colin McMillen
3cd1b66965 add main.js & main.html 2019-09-24 14:57:24 -04:00