/arche-demo

Demo for Arche, the Go Entity Component System (ECS)

Primary LanguageGoMIT LicenseMIT

Arche Demo

Test status Go Reference GitHub MIT license

Demo for the Arche Entity Component System (ECS).

See the live demo here.

Arche (logo)

Usage

Besides the live demo, you can run the examples locally.

Clone the repository, and navigate into it:

git clone https://github.com/mlange-42/arche-demo.git
cd arche-demo

Then, run individual examples like this:

go run . <example>

In each example directory, file run.go is the entrypoint for an overview of the ECS systems that make up the model.

Dependencies

Due to the use of Ebitengine for rendering, the dependencies of go-gl/gl and go-gl/glfw apply. For Ubuntu/Debian-based systems, these are:

  • libgl1-mesa-dev
  • xorg-dev