#Would you use DOTS for this project?

1 messages · Page 1 of 1 (latest)

torpid lion
#

Does it make sense to use DOTS for a small factory game that probably doesn't need much performance? Solo project.

I say "would you use it", but let's take into account my specific experience: 11+ years of Unity experience and limited experience with all versions of DOTS.

I'm considering DOTS for it's potentially nice and clean architecture. I might benefit from it's performance, but that is not very likely. Another questionable reason to use it is that I want to learn it, but my priority is releasing a game.

What would be your thoughts or advice on this?

earnest tree
#

Dots is nice and all, but even finishing simple project with it is really hard due to it's pre state and lack of features (no animation or 2d for example).

#

so unless you are ready for long development, I woudn't go with it

#

one thing it's already good for though - is when you need simulation of some sort without any rendering

#

pure entities are pretty much good to go

desert ember
#

Yeah, i`m using DOTs for a game server and it is really good but for game client i do use GameObjects/MB

torpid lion
#

Thank you, guys, for the replies, that is the response I expected, so I'm pretty sure what to do.

#

One thing I'm thinking currently is main thread Managed ECS approach. Is it viable performance-wise? I heard it is better than MB.

desert ember
#

It is better if using burst / unmanaged

#

But if you are using ecs why not use jobs too?

torpid lion
#

That's exactly the rabbit hole I'll end up going into if I start with ECS 🙂

#

I just want fast development with clean arhitecture. I made classes called GameSystem, so thinking why not make them actual systems, and I have a lot of moving parts in this factory game that need to be updated and perform the same logic. And a lot of objects I need to track and put in lists.

earnest tree
torpid lion
#

ECS solves a lot of that.

earnest tree
#

especially ones that rely on tasks for threading

#

but almost everything monob related in Unity is not multithreaded, so keep it in mind

torpid lion
#

Okay, yeah, it seems like doing ECS partially will make thing only more messy anyway. Thanks again.

earnest tree
#

if you want full DOTS, I'd guess you'll have to either take a look at Latios

#

which is heavily focues on pure dots

desert ember
#

Is your game multiplayer?

earnest tree
#

or go along with Unity has to offer + rn there was released some animation asset for dots

#

for 2d someone made nsprites

#

a lot to work with