|
||
---|---|---|
game | ||
html | ||
js | ||
scss | ||
.browserslistrc | ||
.gitattributes | ||
.gitignore | ||
README.md | ||
package.json | ||
pnpm-lock.yaml | ||
postcss.config.js | ||
screenshot.png | ||
webpack.config.js |
README.md
inkjs boilerplate
This is a cross-platform template, but auto-rebuilding is set for Linux only. Hence the repository title. Edit the auto-rebuilding script for your system.
Console commands to start working
git clone
npm install
or betterpnpm install
webpack prod
and you'll have the game in thebuild
folder.
If you need a lighter template without any console commands: inkjs-boilerplate.
Screenshot
Features
- Autosaving (with a restart button)
- Keyboard support (press 1-9 to select 1th-9th choices, 0 to choose 10th)
- Gamepad support (arrows or Y axis to select, A to choose)
- Great performance (no fancy tricks, pure DOM manipulation)
- For authors:
npm watch
will auto-recompile the game on changes to JS or JSON- Auto-recompiling from ink to JSON is not included, though
- Mobile-ready layout
- Editable color scheme
- Undo button (just delete it from HTML code if you don't want it)
Compatibility
Compatible browsers: Chrome >= 60, Firefox >= 60, iOS >= 12, Safari >= 12.