https://github.com/mlange-42/arche-demo
Demo for Arche, the Go Entity Component System (ECS)
https://github.com/mlange-42/arche-demo
ecs entity-component-system go golang
Last synced: 8 months ago
JSON representation
Demo for Arche, the Go Entity Component System (ECS)
- Host: GitHub
- URL: https://github.com/mlange-42/arche-demo
- Owner: mlange-42
- License: mit
- Created: 2024-01-24T00:25:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-08T23:27:11.000Z (9 months ago)
- Last Synced: 2025-01-09T00:37:51.285Z (9 months ago)
- Topics: ecs, entity-component-system, go, golang
- Language: Go
- Homepage: https://mlange-42.github.io/arche-demo/
- Size: 4.73 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Arche Demo
[](https://github.com/mlange-42/arche-demo/actions/workflows/tests.yml)
[](https://pkg.go.dev/github.com/mlange-42/arche-demo)
[](https://github.com/mlange-42/arche-demo)
[](https://github.com/mlange-42/arche-demo/blob/main/LICENSE)Demo for the [Arche](https://github.com/mlange-42/arche) Entity Component System (ECS).
See the [live demo here](https://mlange-42.github.io/arche-demo/).
## Usage
Besides the [live demo](https://mlange-42.github.io/arche-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 .
```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](https://github.com/hajimehoshi/ebiten) for rendering, the dependencies of [go-gl/gl](https://github.com/go-gl/gl) and [go-gl/glfw](https://github.com/go-gl/glfw) apply. For Ubuntu/Debian-based systems, these are:
- `libgl1-mesa-dev`
- `xorg-dev`