https://github.com/kefniark/jil
UI Framework for HTML5 Games
https://github.com/kefniark/jil
framework game game-development html5 ui
Last synced: 9 months ago
JSON representation
UI Framework for HTML5 Games
- Host: GitHub
- URL: https://github.com/kefniark/jil
- Owner: kefniark
- License: mit
- Created: 2019-02-23T14:10:09.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-11-04T04:53:22.000Z (over 6 years ago)
- Last Synced: 2025-06-03T17:14:31.551Z (10 months ago)
- Topics: framework, game, game-development, html5, ui
- Language: TypeScript
- Homepage: https://kefniark.github.io/jil/dist/samples/
- Size: 1.14 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# JIL - HTML5 Game UI
[](https://app.codacy.com/app/kefniark/jil?utm_source=github.com&utm_medium=referral&utm_content=kefniark/jil&utm_campaign=Badge_Grade_Dashboard)
[](https://coveralls.io/github/kefniark/jil?branch=master)
[](https://travis-ci.org/kefniark/jil)
[](https://npmjs.org/package/jil)
[](https://npmjs.org/package/jil)
[](https://npmjs.org/package/jil)

## **UI Framework for HTML5 Games**:
To build a **HTML5 Game UI**, there are usually two choices:
* Use the **GUI system** provided by your engine (each one is different with their limitations).
* Use **HTML/CSS** (but usual CSS framework like bootstrap are not designed for games)
Which in both case can be annoying and time consuming.
The idea behind **JIL** is to provide the best of both world, in a user friendly way.
* Auto-scaling and Centering
* Vector positioning (`pivot`, `anchor`, `position`, `scale`, `rotation`)
* Fast HTML5/CSS3 (Use CSS3 transform & Virtual dom)
* Tween integration (Provide an easy way to animate your UI)
* Layer & Layout system (Easier to organize UI than table or flexbox)
* Engine agnostic (Work with HTML canvas and dont interfer with 2D/3D Engine):
- Babylon.js
- Pixi
- Phaser
- ...
---
## Sample
* [**Demo**](https://kefniark.github.io/jil/dist/samples/)
* [**Sample Code**](./dist/samples/)
## How to use ?
* [**Install JIL**](./doc/install.md)
* [**Getting Started !**](./doc/getting_started.md)
* [**API Doc**](https://kefniark.github.io/jil/dist/docs/)
* [**Jil Development**](./doc/development.md)
---
## Copyright and license
Code and documentation copyright 2019 [Kefniark](https://github.com/kefniark)
Code released under the [MIT License](./LICENSE.md).
[](https://nodei.co/npm/jil/)