@jakeklassen/ecs

Entity Component System

Usage no npm install needed!

<script type="module">
  import jakeklassenEcs from 'https://cdn.skypack.dev/@jakeklassen/ecs';
</script>

README

ecs

Build Status

TypeScript Entity Component System.

Examples Repo

Live Demos

Benchmarks

Test Machine

OS: Ubuntu 18.04.2 LTS on Windows 10 x86_64
Kernel: 4.19.57-microsoft-standard
CPU: Intel i7-4710HQ (8) @ 2.494GHz
Memory: 16GB

Node 12.8.0

World#view() @ 100_000 entities with 100 components each x 1,213 ops/sec ±0.91% (89 runs sampled) World#findEntity() @ 100_000 entities with 100 components each x 2,119 ops/sec ±1.07% (85 runs sampled)

Recognitions

Roadmap

  • Event System
  • More tests
  • Benchmarks
  • More examples