3 ms·
Next time I jump into game dev I definitely want to try Unity. Last time I wrote my own engine pretty much from scratch on top of Pixi.js and while I learned a
by khalilravanna 6y ago
Next time I jump into game dev I definitely want to try Unity. Last time I wrote my own engine pretty much from scratch on top of Pixi.js and while I learned a huge amount, there were a lot of “lessons learned” that I gained manually (or didn’t gain) that Unity has baked in from the start.
One thing that’s interesting to me about Unity is AFAIK it bakes the Entity Component System pattern into its core. Any good guides or resources on this?
I found Robert Nystrom’s excellent book a good resource for this (http://gameprogrammingpatterns.com/component.html http://gameprogrammingpatterns.com/component.html) and even wrote my own post on the concept to help crystallize my understanding (http://ripplega.me/development/ecs-ez/ http://ripplega.me/development/ecs-ez/). I’m interested to see if there’s a good authoritative Unity-specific post on the topic.
- Eyas 6y agoReal DOD-style ECS is being baked into the core of the "new way" of programming Unity, but a lot of that is in preview packages. Much of how Unity is used today actually involves very little ECS. See https://unity.com/dots https://unity.com/dots
- anchpop 6y agoUnfortunately they've been quiet about when we can expect the new features to start being ready for testing - there was no news about DOTS in the new 2020 point release for instance
- raxxorrax 6y agoIt is not dogmatically following any patterns, but looking at some modding tools of Bethesda games is interesting for how game data as entities or forms in this case is structured. Battle tested model for extendibility and you already have real game data to get examples. Don't know how close these patterns would fit Unity, but I would suspect a large overlap.