ecs
ecs copied to clipboard
A simple and generic ECS implementation in Go
Access to FilterList in arch.go wasn't safe. Also dictionary map was replaces with simple array (check code). After tests, ECS started to work from multiple goroutines.
Implemented: 1. System groups 2. Automatic multithreading (based on requested read/write access to components) 3. Systems ordering 4. And a lot more related to systems. Check updated Readme. Added Example...
Added `MapIdParallel` to the views template generator. It splits entities into chunks up to a specified size and then maps those chunks in parallel. I didn't really tested it :)...