Rogue Survivor

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

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

Code