A lightweight JavaScript gaming micro-library, optimized for js13kGames.
All the documentation can be found on the github page.
Kontra.js is made possible by users like you. Through helping find issues, opening pull requests, and funding continuous development, Kontra.js can continue to provide you with quality improvements and updates.
When you become a Patron, you get access to behind the scenes development logs, the ability to vote on which features to work on next, and early access to development builds.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
To build the development code, run npm run build
. To build the distribution version of the code, run npm run dist
. Both should be built before submitting a pull request.
Please add unit and/or integration tests for all new changes. To run the tests, run npm test
.
The documentation is built from the JSDoc comments in the source files using LivingCSS (I know, not what it was intended for but it makes it really easy to build multiple pages of docs. And it's highly configurable). To update the docs just modify the JSDoc comments.
The docs are built along with the development version of the code, so running npm run build
will build the docs as well. This ensures they stay in sync with any changes to the code.
All doc related gulp tasks and @tag
information can be found in the doc-tasks.js
file.