Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.49 KB

readme.md

File metadata and controls

41 lines (30 loc) · 1.49 KB

okinawa.js logo

okinawa.js

npm npm

A simple javascript 2D game engine

A javascript game engine with no package dependencies.

Current list of features:

  • Multiple scenes/levels
  • Each level with its own hierarchy of items on screen
  • Item positioning and rotation inside the hierarchy
  • Independent background collection attached to the scene (with parallax)
  • Image preloading
  • GUI elements (text, console, menus, windows/frames)
  • Css fonts rendering to images (only re-rendered when text changes)
  • Simple item behaviour attaching it to a tracker (bezier curves, circles, sine movement, follow)
  • Particle system
  • Input controller per scene (key events subscribing or checking key status in real time)
  • Input combos: consecutive or simultaneous keys
  • Basic touch controls for touch devices
  • Clock subcriptions to wait for certain events
  • Basic audio support

Demos (in separate projects)

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?