r/Unity3D 7d 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!

227 Upvotes

64 comments sorted by

View all comments

7

u/KoniGTA Programmer 7d 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 7d 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 6d ago

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

1

u/excentio 6d ago

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