SNES-like engine in JavaScript.
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.
 
 
 
 
Colin McMillen 2fe008a2e8 add some whitespace 5 years ago
scripts rename deploy_local.sh -> deploy.sh 5 years ago
.gitignore add bundle/ to gitignore 5 years ago
LICENSE Initial commit 5 years ago
README.md add some whitespace 5 years ago
index.html use spritesheet & metadata from bundle/ instead of hard-coding a few 5 years ago
main.js use spritesheet & metadata from bundle/ instead of hard-coding a few 5 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 mcmillen@famicol.in rm -rf 'famicolin/snej/*' && \
        $SNEJ_ROOT/scripts/deploy.sh mcmillen@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