2016-06-09 05:59:29 +03:00
|
|
|
# inkjs boilerplate
|
|
|
|
|
|
|
|
Console commands to start working
|
|
|
|
|
|
|
|
1. `git clone`
|
2020-06-10 15:20:46 +03:00
|
|
|
2. `npm install` or better `pnpm install`
|
|
|
|
3. `webpack prod` and you'll have the game in the `build` folder.
|
2020-11-07 19:20:02 +02:00
|
|
|
|
|
|
|
### Screenshot
|
|
|
|
|
|
|
|
![Screenshot](./screenshot.png)
|
2021-08-24 11:42:20 +03:00
|
|
|
|
|
|
|
### Features
|
|
|
|
|
|
|
|
* Autosaving (with a restart button)
|
|
|
|
* Keyboard support (press 1-9 to select 1th-9th choices, 0 to choose 10th)
|
|
|
|
* Great game performance (all JS is ~200Kb in size with Inkjs runtime)
|
|
|
|
* For authors: `npm watch` will auto-recompile the game on changes to JS or JSON
|
|
|
|
|
|
|
|
### Compatibility
|
|
|
|
Compatible browsers: Chrome >= 60, Firefox >= 60, iOS >= 12, Safari >= 12.
|
|
|
|
|
|
|
|
If you want to support older browsers (released before 2018),
|
|
|
|
you'll have to rewrite the CSS.
|
|
|
|
I use Bootstrap 5 because it's a good framework but it's also very modern.
|
|
|
|
Other than that, the code depends only on inkJS and jQuery so it should comfortably support IE9+
|