KiltaGear is a 2D fighting game presented by NiemiSmäsh.
Play now at https://mmkalll.itch.io/kiltagear!
https://kanbanflow.com/board/PHB3xT
- Have
yarnand Node.js 10.15.0 or newer installed (see https://yarnpkg.com/lang/en/docs/install/). - Run
yarnto install local dependencies.
yarn start- Open http://localhost:1234/ in your favourite browser.
- Enjoy KiltaGear!
On Windows platforms, some users may need to install TypeScript and Parcel locally as part of their Node.js installation.
yarn global add typescript && yarn global add parcel-bundler
Then you should be able to run the game with parcel index.html.
- Delete release directory
rm -rf releasecareful here - Run
yarn build - Zip the release directory, rename it to
release-0.x.x, upload zip to itch.io - Congratulate yourself on a successful release!
- Delete dist directory
rm -rf distcarefully - Run
parcel index.html assets/sprites/*production build will not work with itch (can't always resolve hashed filenames to assets) - Rename newly made dist directory to release-0.x
- In release-0.x, remove slash from kiltagear.js path in index.html
- In kiltagear.xxxxxxxx.js, replace all upper/root directory access. ../ as ./ and exports="/..." as exports="...". As regex:
"\.\./assets/sprites/->"./assets/sprites/,exports="/->exports=" - Zip the release directory, check that the filename has no spaces, and upload zip to itch.io
In the future, could consider parcel build src/index.html --public-url='./', see parcel-bundler/parcel#2624