SNES-like engine in JavaScript.
Go to file
2019-10-04 09:53:56 -04:00
scripts don't make a spurious dir for remote deploy. fix docs. 2019-10-04 09:53:56 -04:00
.gitignore add bundle/ to gitignore 2019-10-03 15:41:59 -04:00
index.html use spritesheet & metadata from bundle/ instead of hard-coding a few 2019-10-03 16:42:21 -04:00
LICENSE Initial commit 2019-09-24 14:54:17 -04:00
main.js use spritesheet & metadata from bundle/ instead of hard-coding a few 2019-10-03 16:42:21 -04:00
README.md don't make a spurious dir for remote deploy. fix docs. 2019-10-04 09:53:56 -04:00

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 mcmillen@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