ecs icon indicating copy to clipboard operation
ecs copied to clipboard

A Go-implementation of the Entity-Component-System paradigm

Results 9 ecs issues
Sort by recently updated
recently updated
newest added

Hi, thanks for all your work, having a lot of fun here using ecs & engo :) One of the most boring, mistakable, and kind of dirty stuff is the...

Just taking a walk through the code-base to familiarize myself and I wanted to better understand why the `System` interface's `Update` method takes a `float32` instead of a `time.Duration`. ```golang...

question

So you won't have to create entirely new interfaces for each system! You could just have one interface for each component, and add that to a slice of interfaces at...

When I build the game using the `-race` flag: ```bash go build -race main.go ``` and run it on a different goroutine (I'm using a server to add entities to...

`ecs_tests`, to keep from poluting the ecs package namespace with test only structures.

Added tests for bulk creating of entities and to test for race conditions the NewBasics function. Added tests for the `ecs.System`'s implementation of the `sort.Interface`, for direction and stability.

Its a good idea to have a CONTRIBUTING.md file, (and possibly an authors file as well).

Would be nice to have a test for every possible aspect, to ensure it's stable.

ready

I noticed the exclusion interface only excluded entities if all those components are present on an entity. The behaviour I assumed was if one or all of the components on...