Home

Javascript Game Engine

This engine was designed to simplify creating javascript game applications.

Advantages:

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

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. Animate tiles.
  5. Render tiles on top of each other using webgl blend effects.
  6. Masks from primitives.
  7. Map centering. Cutting off everything out off screen.
  8. Extract boundaries(dot/ellipse/polygon) from tiles.
  9. Custom boundaries(rect/polygon/circle) for image objects.
  10. Collision detection.
  11. 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
github: https://github.com/ALapinskas/jsge issues: [https://github.com/ALapinskas/jsge/issues] (https://github.com/ALapinskas/jsge/issues) npm: https://www.npmjs.com/package/jsge

Feedback and Questions: [https://discord.com/channels/1246373335202398268] (https://discord.com/channels/1246373335202398268)