jsge
v1.5.2
Published
Javascript Game Engine
Downloads
2,250
Maintainers
Readme
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 frame animations.
- Spine 2d skeletal animation.
- Tiles and objects collisions.
What you can do with it:
- Draw primitives, texts, load images, audio and tilemaps with tilesets from Tiled editor.
- Render everything in a sequence.
- Animate images, switching their frames.
- Animate tiles.
- Render tiles on top of each other using webgl blend effects.
- Masks from primitives.
- Map centering. Cutting off everything out off screen.
- Extract boundaries(dot/ellipse/polygon) from tiles.
- Custom boundaries(rect/polygon/circle) for image objects.
- Collision detection.
- Boundaries drawing as debug option.
How to run examples:
- npm i
- npm start
- 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)