You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() |
4 years ago | |
---|---|---|
scripts | 4 years ago | |
.gitignore | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 4 years ago | |
index.html | 4 years ago | |
main.js | 4 years ago |
README.md
snej
SNES-like engine in JavaScript
cookbook
-
set up environment in bashrc:
export SNEJ_ROOT=~/snej
-
lint:
$SNEJ_ROOT/scripts/lint.sh
-
deploy locally:
rm -rf ~/deploy/* && $SNEJ_ROOT/scripts/deploy.sh ~/deploy/
-
deploy to famicol.in:
ssh famicol.in rm -rf 'famicolin/snej/*' && \ $SNEJ_ROOT/scripts/deploy.sh famicol.in:famicolin/snej
-
annotate sprites:
python3 $SNEJ_ROOT/scripts/assets.py annotate-sprites
-
stitch sprites:
python3 $SNEJ_ROOT/scripts/assets.py \ stitch-sprites $SNEJ_ROOT/bundle/spritesheet