Like the Learning Pixi tutorial, except with type safety and modules.
Play it online: http://zufengw.github.io/pixi-tutorial-slimes
Uses Webpack, PixiJS, TypeScript, yarn, TSLint and other supporting packages.
What you need: Node.js and npm, yarn.
git clone [email protected]:ZufengW/pixi-tutorial-slimes.git and cd into repo.
yarn install to install dependencies.
yarn run start to start dev server.
yarn run lint to run linter. Do this and fix errors before you commit.
See all scripts and add more in package.json.
Put your things inside src.
yarn run build to create an output in the public directory.
yarn run deploy to run deploy script.
The deploy script deploy.sh is from https://github.com/X1011/git-directory-deploy.
It's set to deploy the contents of public directory to target branch gh-pages on the origin remote repo.
Suitable for GitHub pages.