Rogue Survivor
Play it in-browser below!
Description
Rogue Survivor is a survivors like built with an ECS architecture. Currently a work in-progress.
Tech Stack
- Framework: Phaser 4.1 (WebGL/Canvas 2D Rendering)
- ECS Framework: bitECS
- Language: TypeScript
- Tools: Vite, npm, Tiled, RexUI
- Art: 32rogues
Architecture Highlights
- Thousands of entities: Testing showed stable framerate at over 2k entities
- Cache Locality: The ECS architecture stores all state in flat TypesArrays
- Sprite Pooling: Object pooling for sprites to reduce garbage collection and instancing
- Spatial Hashing: Custom collider system with spatial hashing to reduce collision checks allowing more entities to be in the world