Commit Graph

43 Commits

Author SHA1 Message Date
Colin McMillen
3bd1caa915 add water and trees 2019-10-30 10:28:04 -04:00
Colin McMillen
adbf13f06a set up assets for Super Tea Witch 2019-10-29 17:26:46 -04:00
Colin McMillen
f9b11e5833 use witch sprites by default, elide others 2019-10-29 14:57:48 -04:00
Colin McMillen
3011e5eaab tighten up cookbook entry 2019-10-04 11:18:12 -04:00
Colin McMillen
f07d0acad5 don't make a spurious dir for remote deploy. fix docs. 2019-10-04 09:53:56 -04:00
Colin McMillen
2fe008a2e8 add some whitespace 2019-10-04 09:44:07 -04:00
Colin McMillen
50644027e0
add cookbook for some shell-y things 2019-10-04 09:40:05 -04:00
Colin McMillen
62f850a413 rename deploy_local.sh -> deploy.sh 2019-10-04 09:30:21 -04:00
Colin McMillen
03850a9306 use scp instead of cp for easy deploy to server 2019-10-04 09:23:55 -04:00
Colin McMillen
f8752567a8 add scripts/deploy_local.sh 2019-10-03 20:42:18 -04:00
Colin McMillen
fa827a0f30 assets.py: use SNEJ_ROOT variable & os.path.join 2019-10-03 20:34:17 -04:00
Colin McMillen
af28ee776c add linter script 2019-10-03 20:28:04 -04:00
Colin McMillen
1f69362489 remove spurious space 2019-10-03 17:18:31 -04:00
Colin McMillen
cfe3065077 use spritesheet & metadata from bundle/ instead of hard-coding a few 2019-10-03 16:42:21 -04:00
Colin McMillen
c82e19470c assets.py: output a full JS file that can be sourced directly 2019-10-03 16:37:47 -04:00
Colin McMillen
ac3216f41f change expected assets location 2019-10-03 15:46:43 -04:00
Colin McMillen
37e8333d8c add bundle/ to gitignore 2019-10-03 15:41:59 -04:00
Colin McMillen
a722fa0d95 remove spurious chunk_name printout 2019-10-03 14:58:48 -04:00
Colin McMillen
5db46186da add .gitignore 2019-10-03 14:29:40 -04:00
Colin McMillen
15837b7c3c many pylint fixes 2019-10-03 11:25:15 -04:00
Colin McMillen
4ce860a6ed add actions for checking and annotating sprites 2019-10-02 17:37:09 -04:00
Colin McMillen
eeb0f0a4db pretty-print JSON output 2019-10-02 15:30:36 -04:00
Colin McMillen
46e5a34120 add tool for annotating sprite metadata 2019-10-02 15:17:05 -04:00
Colin McMillen
3bb110172f Add basic script for parsing assets. 2019-10-01 21:31:35 -04:00
Colin McMillen
528d9577eb move gamepad handling into a separate class 2019-09-25 17:22:04 -04:00
Colin McMillen
c0cd1e6df3 remove unused fields & unneeded vendor prefixes 2019-09-25 16:36:25 -04:00
Colin McMillen
3dbf2d96c6 add comment to SnesInput 2019-09-25 16:17:44 -04:00
Colin McMillen
02c1907d26 add SnesInput class to represent controller input
separate input handling (from keyboard and gamepad) from the results
thereof
2019-09-25 16:10:03 -04:00
Colin McMillen
e13c4d0985 bugfix: ensure that canvas scale is at least 1x 2019-09-25 15:49:19 -04:00
Colin McMillen
3e9a45a7c3 use zsnes default keybindings for keyboard control 2019-09-25 15:33:45 -04:00
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
2fe15e98fb change dir structure of resources/ tree (now res/) 2019-09-25 10:12:02 -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
2e54945438 rename main.html -> index.html 2019-09-24 20:55:36 -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
Colin McMillen
89cfccf433
Initial commit 2019-09-24 14:54:17 -04:00