okinawa.js
v3.1.18
Published
Javascript 2D game engine
Downloads
72
Maintainers
Readme
okinawa.js
A simple javascript 2D game engine
A javascript game engine with no package dependencies.
Current list of features:
- [x] Multiple scenes/levels
- [x] Each level with its own hierarchy of items on screen
- [x] Item positioning and rotation inside the hierarchy
- [x] Independent background collection attached to the scene (with parallax)
- [x] Image preloading
- [x] GUI elements (text, console, menus, windows/frames)
- [x] Css fonts rendering to images (only re-rendered when text changes)
- [x] Simple item behaviour attaching it to a tracker (bezier curves, circles, sine movement, follow)
- [x] Particle system
- [x] Input controller per scene (key events subscribing or checking key status in real time)
- [x] Input combos: consecutive or simultaneous keys
- [x] Basic touch controls for touch devices
- [x] Clock subcriptions to wait for certain events
- [x] Basic audio support
Demos (in separate projects)
- Asteroids clone demo in https://dev.neverbot.com/okinawa-asteroids/
To Do
- [ ] Better audio system
- [ ] Item collections in the scene (multiple layers of items)
- [ ] Upload more examples of how to use the engine
- [ ] Some documentation or tutorial would be useful, don't you think?