What is the best way of making entity system for a tower defense?

Greetings,
I am trying to make my own td game, however faced with the fact that I cannot come up with a method for creating an entity system, that is not going to blow up servers.
So I hope for the help of more experienced developers

  1. By making “Best” system, I mean making an optimized based on OOP entity system that is not going to be too complex (consider client rendering)

  2. I am not using humanoids(which is very performance heavy), either moving parts with client rendering(this is also hard for a server)

  3. I’ve seen variants on forum where data was stored in a modules, nevertheless I could not repeat this by myself(CFrame does not work properly when used as value in the table for me)

Asking you to give me ideas or existing versions, like creating CFrame values as objects in a folder with mobs

Suphi have good tutorial which I haven’t watched atleast 1 hour
Its 7 hours long

It have client rendering there and I think its OOP based
Here is link for video in case it dont show up in searching

I’m not that knowledgeable in TD games, but I assume muli-threading is what you’re looking for. Co-routines and Actors might do the job.

Already using Coroutines for enemy movement logic, I’m still figuring out with Actors tho

7 hours tutorial is crazy
Also this is kind of tutorial that makes me feel stupid

1 Like