Description
Stage.js is a lightweight and fast 2D rendering and layout library for web and mobile game development. It gives you an API for creating interactive graphics on an HTML5 2D canvas, so you can build the visual part of a browser game without writing the drawing loop yourself. The library runs an optimized rendering loop, processes pointer events and dispatches them to the target component, and manages texture atlases, sprites and image preloading. Scenes are organized as a component tree, so each component has a position, layout and children, and layouts, positioning and transitions can be applied to move things smoothly. The documentation covers installation, a hello world example, the game loop, events and the pointer, textures and atlases, sprite, animation and monotype components, component trees, pins, transitions and a reference of the layout components. A version 1.0 section lists what is new. The library is a community project maintained on GitHub, and the authors invite questions on their Discord server.…
Highlights
- Optimized rendering loop on HTML5 canvas
- Pointer events dispatched to components
- Texture atlases, sprites and preloading
- Component tree with layouts and transitions
- Documentation with a hello world example
Ratings & Reviews
No ratings yet
Be the first to rate Stage.js.
People also visit
Stage.js FAQ
What is Stage.js?
It is a 2D rendering and layout library for building interactive graphics and games in the browser on a canvas.
Who is it for?
Developers making HTML5 2D games or interactive graphics for web and mobile browsers.
How do I start?
Read the Install and Hello World sections of the documentation, then follow the game loop and events guides.
Does it handle input?
Yes. It processes pointer events and sends them to the component they target.
Is it free?
The project is published as open source on GitHub, and the site does not list a price.
What are the best Stage.js alternatives?
Popular alternatives to Stage.js include Pixijs, Hilo and Black. See all Stage.js alternatives






