JsGE@0.2.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.
- Strict OPP structure, no circle dependencies.
- Modular structure.
- Webgl 1 under the hood, wide browser support and fast rendering on desktop and mobile screens.
- Flexible multilayer design. Webgl blend effects.
- Spine 2d skeletal animation runtimes integrated.
What you can do with it:
- Draw primitives, texts, load images, audio and tilemaps with tilesets from Tiled editor.
- Render everything in a sequence.
- Images can be animated, switching their frames.
- Tiles can be rendered as layers on top of each other using webgl blend effects.
- Map centering. Cutting off everything out off screen.
- Boundaries could be extracted from tiles and used further.
- Map objects supports boundaries(dot, polygon).
- Collision detection for dots, lines, circles and polygons included.
- Boundaries helper drawing as debug option.
How to run examples:
- npm i
- npm start
- visit localhost:9000
API docs and tutorials: jsge.reslc.ru
Files: https://github.com/ALapinskas/jsge