Overview of Hex Engine features and architecture
Hex Engine is a TypeScript-based 2D game engine for the browser. It implements a variant of the Entity-Component-System (ECS) model where Components are functions that use Hook functions to define behavior, making them radically composable (similar to React).
Key built-in capabilities include:
- 2D rendering using HTML5 Canvas
- Sprite sheet and animation support
- Sound playback and synthesis helpers
- Physics integration via matter.js
- Input handling for Mouse, Keyboard, and Gamepad
- Native support for industry tools: Aseprite, Tiled, and BMFont
- Integrated development inspector and frontend compilation pipeline.