Colin McMillen
|
af28ee776c
|
add linter script
|
5 years ago |
Colin McMillen
|
1f69362489
|
remove spurious space
|
5 years ago |
Colin McMillen
|
cfe3065077
|
use spritesheet & metadata from bundle/ instead of hard-coding a few
|
5 years ago |
Colin McMillen
|
c82e19470c
|
assets.py: output a full JS file that can be sourced directly
|
5 years ago |
Colin McMillen
|
ac3216f41f
|
change expected assets location
|
5 years ago |
Colin McMillen
|
37e8333d8c
|
add bundle/ to gitignore
|
5 years ago |
Colin McMillen
|
a722fa0d95
|
remove spurious chunk_name printout
|
5 years ago |
Colin McMillen
|
5db46186da
|
add .gitignore
|
5 years ago |
Colin McMillen
|
15837b7c3c
|
many pylint fixes
|
5 years ago |
Colin McMillen
|
4ce860a6ed
|
add actions for checking and annotating sprites
|
5 years ago |
Colin McMillen
|
eeb0f0a4db
|
pretty-print JSON output
|
5 years ago |
Colin McMillen
|
46e5a34120
|
add tool for annotating sprite metadata
|
5 years ago |
Colin McMillen
|
3bb110172f
|
Add basic script for parsing assets.
|
5 years ago |
Colin McMillen
|
528d9577eb
|
move gamepad handling into a separate class
|
5 years ago |
Colin McMillen
|
c0cd1e6df3
|
remove unused fields & unneeded vendor prefixes
|
5 years ago |
Colin McMillen
|
3dbf2d96c6
|
add comment to SnesInput
|
5 years ago |
Colin McMillen
|
02c1907d26
|
add SnesInput class to represent controller input
separate input handling (from keyboard and gamepad) from the results
thereof
|
5 years ago |
Colin McMillen
|
e13c4d0985
|
bugfix: ensure that canvas scale is at least 1x
|
5 years ago |
Colin McMillen
|
3e9a45a7c3
|
use zsnes default keybindings for keyboard control
|
5 years ago |
Colin McMillen
|
aed6bdd877
|
create a CharacterSprite class
add ability to switch between character graphics by pressing R
|
5 years ago |
Colin McMillen
|
6d5e92faec
|
move xxArrowPressed globals into the Input class
|
5 years ago |
Colin McMillen
|
d06c5a49c4
|
add SNES_WIDTH and SNES_HEIGHT constants
|
5 years ago |
Colin McMillen
|
0ebdf6f47f
|
autoscale canvas based on browser dimensions.
add more canvas scale options.
hide canvas element until scale is set.
|
5 years ago |
Colin McMillen
|
2fe15e98fb
|
change dir structure of resources/ tree (now res/)
|
5 years ago |
Colin McMillen
|
1506b7a3eb
|
make image-rendering: pixelated work in firefox
set default scale back to 4x
|
5 years ago |
Colin McMillen
|
2e54945438
|
rename main.html -> index.html
|
5 years ago |
Colin McMillen
|
f8a3be556d
|
set default scale to 3x.
fix a map typo.
|
5 years ago |
Colin McMillen
|
822a5a108e
|
add basic keyboard controls
|
5 years ago |
Colin McMillen
|
ce3ee42c4e
|
add tiled background rendering and one ghosty boi
|
5 years ago |
Colin McMillen
|
d7a88b6d67
|
remove unused variable
|
5 years ago |
Colin McMillen
|
3cd1b66965
|
add main.js & main.html
|
5 years ago |
Colin McMillen
|
89cfccf433
|
Initial commit
|
5 years ago |