View on GitHub · Documentation · Play sandbox
Craters is a modular TypeScript framework for HTML5 game development, built around the Entity-Component-System (ECS) pattern. It gives developers a composable foundation for browser-based games without engine lock-in or heavy dependencies.
Features:
World, Entity, System, Query for managing all game logicRigidBody with forces, damping, friction, and restitution; 2D Vector mathQuadTree for broad-phase spatial partitioningKeyboardEvent.codeSoundManager, Sound) for effects and musicInstall:
npm install craters
MIT licensed. 26 stars on GitHub.