A TypeScript 2D game engine. Built around composable components, prefab-driven world objects, and the rendering pipeline you already know.
See the demosDemos
-
Simple Shooter
A top-down shooter built on arcade2d — player movement, prefab spawning, and a pile of zombies, rendered with basic shapes. The de-facto end-to-end exercise of the engine.
View source -
Dungeon Crawler
A dungeon crawler built on arcade2d, exercising texture and sprite rendering with a full tileset and animated characters.
View source
Concepts
The engine surface, by area. Each links into the API reference.
- Core 19 Game lifecycle, components, and the error model.
- World 26 Worlds, objects, prefabs, and the per-frame update loop.
- Graphics 16 Rendering — the scene graph, shapes, sprites, textures, and frame animation.
- Assets 16 Loading images into textures, grouped as typed, preloadable bundles.
- Audio 12
- Geometry 7 Points, shapes, and spatial math.
- Input 6 Keyboard and mouse state, sampled per tick.
- Utilities 4 Helpers like seeded RNG and id generation.