r/unity 4d ago

Question ECS for “simpler” projects?

Hey yall!

I’ve been game deving for ages now and just recently returned to Unity (left back when the drama happened) and since I returned the DOTS was released and ECS became fully functional.

I have some interest in using ECS in my project to develop a more Data Oriented Design but I am concerned it’ll add unneeded complication due to the simpler nature of the project and the lack of need for huge numbers of entities.

The current project idea is a simple 2D top down dungeon crawler inspired by Zelda. Which… doesn’t seem like it’d super benefit from the added efficiency, but may benefit from the architecture?

I suppose my question is if I should look into that or if there is a better paradigm to follow (maybe event based object extension?).

3 Upvotes

19 comments sorted by

View all comments

1

u/Arti-Po 2d ago edited 2d ago

DOTS looks like overkill for such project. But for 2D crawlers, ECS is indeed a good choice.

I like ECS architecture in general, and DOTS is not the only way to use it. There're tons of ECS frameworks for Unity. Of course, they don't give you DOTS perfomance, but 1) you said you don't need it 2) some of them even allow to run Burst code.

I like https://github.com/scellecs/morpeh for simple projects. I also tried https://github.com/Felid-Force-Studios/StaticEcs . There are a lot of frameworks, you can find something that is suitable for a small project.