Skip to content
ConcordConcordConcord

Concord

A feature-complete ECS library.

If the concord folder is in the root directory of your game, you can import this module like so:

Concord = require('concord')
Name Type Description
Entity Entity
Component Component
Components Components
System System
World World
utils Utils
builtins Builtins
_VERSION string
_DESCRIPTION string
_LICENCE string
  • Component — A pure data container that is contained by a single entity.
  • Entity — An object that exists in a world. An entity
  • Filter — List of component names for one filter (!name to reject).
  • List — Data structure that allows for fast removal at the cost of order.
  • System — Iterates over Entities. From these Entities it gets Components and modifies them.
  • World — A collection of Systems and Entities.
  • Components — Container for registered ComponentClasses
  • Type — Helper module to do easy type checking for Concord types
  • Utils — Helper module for misc operations
  • Overview — All the built-in components.