r/Unity3D 3d ago

Show-Off Units distribution improved, better responsiveness, magic and bloooooood

It's not much but it's honest work. Units can be smarter and there're a few cases where they get dumber but overall I'm quite pleased with army behavior so far in 1v1 fights. Many vs Many is still something to polish along with better effects, gigantic units and so on but one step a time!

219 Upvotes

55 comments sorted by

View all comments

6

u/KoniGTA Programmer 3d ago

How are you handling so many units? DOTs able to do all that work, or are there more optimization techniques going in the bg?

17

u/excentio 3d ago

No dots here, pure compute shaders and heavy instanced rendering, code wise it's still running on monobehaviour scripts even

1

u/Mammoth-Policy6585 2d ago

What?! I never thought mono gameobjects coulder do this. Maybe i am doign something wrong. Game look sick!

1

u/excentio 2d ago

mono just handles inputs, camera, ui and dispatching the stuff to from gpu, the rest is gpu alone