Description
Black, also called BLACKSMITH 2D, is a highly optimized 2D framework for web games, mobile games and playable ads. It is written in ES6 and fully typed for the Google Closure Compiler, so the compiler can remove dead code from the final build. The site gives the Donuts game as an example, at 34KB gzipped for both engine and game code in the compiled version. Its scene graph uses a dirty flag, so frames without changes skip the work, which the README says saves battery. For heavy scenes, cache as bitmap detects changes and updates a bitmap cache. The feature list covers vector graphics and baking, particles, tweens, sprite animations, an asset manager, font rendering with metrics, texture atlases, input, clipping rectangles, a component system, audio with atlases, bitmap fonts, render textures, arcade physics and nine-slice grids. The repository has a game template under template/, engine source in src/, prebuilt bundles in dist/, and 91 runnable examples across 18 categories.…
Highlights
- 2D framework for HTML5 games and playable ads
- Built for Closure Compiler to keep builds small
- Scene graph that skips rendering when nothing changed
- Particles, tweens, arcade physics, audio and bitmap fonts
- 91 runnable examples across 18 categories
Ratings & Reviews
No ratings yet
Be the first to rate Black.
People also visit
Goldensun Html5
An online Golden Sun Engine entirely built in HTML5 with Phaser 2
Black FAQ
What is Black?
Black, also called BLACKSMITH 2D, is a 2D framework for web games, mobile games and playable ads. You build your game on top of it, and the repository includes a game template to start from.
How do I get started?
The game template lives in the template folder of the repository. Run it, then open http://127.0.0.1:3000 in a browser. You can also install the engine on its own.
Where can I see examples?
The examples folder has 91 runnable examples across 18 categories. Each feature in the README links to a runnable example.
Does it support physics and audio?
Yes. The feature list includes arcade physics, audio support and audio atlases, along with particles, tweens and sprite animations.
How small can a game be?
The README says the Donuts game is about 34KB gzipped for engine and game code in the GCC version, because the compiler removes dead code.
What are the best Black alternatives?
Popular alternatives to Black include Detonator, Goldensun Html5 and Tower Game. See all Black alternatives

