Home

JsGE@1.1.3

Javascript Game Engine

This engine was designed to work with maps from Tiled editor.

Advantages:

  • Fresh codebase, depends on latest javascript features such as classes and privacy.
  • OPP modular structure.
  • Webgl 1 under the hood.
  • Webgl blend effects.
  • Frames animation.
  • Spine 2d skeletal animation.

What you can do with it:

  1. Draw primitives, texts, load images, audio and tilemaps with tilesets from Tiled editor.
  2. Render everything in a sequence.
  3. Animate images, switching their frames.
  4. Render tiles on top of each other using webgl blend effects.
  5. Masks from primitives.
  6. Map centering. Cutting off everything out off screen.
  7. Extract boundaries from tiles.
  8. Custom boundaries(dot/rect/polygon/circle) for image objects.
  9. Collision detection.
  10. Boundaries drawing as debug option.

How to run examples:

  1. npm i
  2. npm start
  3. visit localhost:9000

API docs and tutorials: jsge.reslc.ru
Files: https://github.com/ALapinskas/jsge