Skip to main content

A Javascript ECS library worth getting excited about

ECS is a common and popular way to structure code in the video game industry, but not so much in Javascript. That's a shame, because it's pretty cool pattern! Ecstatic is built to explore the ECS pattern in Javascript.

Flexible

The ECS pattern can be a lot to take in when you are getting started. Ecstatic provides a simple and well thought out API that's understandable. Components are just Classes. Systems are just Functions. No need to define separate Queries ahead of time.

Lifecycle Methods

Ecstatic provides multiple ways to monitor and react to changes. Both Entities and Components may be given Lifecycle methods.

Type Safe

Ecstatic is fully written in Typescript, and care has been made to provide an amazing type experience throughout.