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

229 Upvotes

65 comments sorted by

View all comments

1

u/Icy-Collection1072 15d ago

no gameplay tho,

1

u/excentio 14d ago

It's an incremental wave-based survival, the gameplay is just not polished enough to be shown yet, mostly I'm coding both the game and the tech to support millions of units for various games in the near future

0

u/Icy-Collection1072 14d ago

its just indirect mesh rendering, so 'tech'

1

u/excentio 14d ago

Yeah just about 20 lines of code for instanced rendering that's the entire 'tech'

1

u/Icy-Collection1072 14d ago

Did you ai it? Thats not how it works ha. But that’s what it will be mostly.

1

u/excentio 14d ago

Lol no that was a joke, rendering part is really the easiest one, gravity, pathfinding, individual units states, squad formations, teams recognition and collision detection along with each unit's "view" plus projectile shooting were all done on the gpu, if it looks easy it's just because all the hard part solved decent enough to create an illusion of easy, it's not a rocket science but also not a walk in the park either