Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/knockerpulsar/ecs
A humble ECS library implementation.
https://github.com/knockerpulsar/ecs
cpp20 ecs game-development raylib
Last synced: 3 months ago
JSON representation
A humble ECS library implementation.
- Host: GitHub
- URL: https://github.com/knockerpulsar/ecs
- Owner: KnockerPulsar
- License: mit
- Created: 2021-07-14T22:49:43.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-01-01T00:55:40.000Z (about 1 year ago)
- Last Synced: 2024-01-02T00:50:33.472Z (about 1 year ago)
- Topics: cpp20, ecs, game-development, raylib
- Language: C++
- Homepage:
- Size: 12.7 MB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ECS
An ECS library implementation written with C++20.
This library is an implementation of the ECS architecture pattern, _with a twist_. It has five main pillars.
1. Entities: Collections of components
2. Components: Carry data
3. Systems: Manipulate data
4. Resources: Allow passing arbitrary data between systems in one level, or even between different levels.
5. Levels: Containers for entities, components, and systems. Each level has its own resources container as well.For a basic example on how to use the library, check out `examples/basic`. For a more involved application, see `examples/pong`.
# How to build examples
Just go into the example's directory and run the following two commands:
```
cmake -B ./build
cmake --build ./build
```Then you should find the binary of the example under `./build`
# More images of pong