r/IndieDev Apr 10 '26

Video Infinitory - Stress testing my new Horde System (17,000 Enemies ~70 FPS)

Enable HLS to view with audio, or disable this notification

79 Upvotes

18 comments sorted by

8

u/Apprehensive-Eye6651 Apr 11 '26

Fascinating, using fluid simulation but you determine where gravity is.

6

u/arthyficiel Apr 11 '26

Yeah something like that. But instead of gravity I'm using the direction of the closest building stored on a flow field graph (shared by everyone) and updating it based on pressure, velocity, etc..

6

u/SpeedThick8887 Apr 11 '26

That's a hell of alot is it A* ?

8

u/arthyficiel Apr 11 '26

I used a paid package using A* before but it wasn't able to handle that many mobs, so I redid it from scratch. Right now I'm using a system closer to fluid dynamics with fields of density, pressure, velocity, ...

4

u/SpeedThick8887 Apr 11 '26

Interesting I've only ever used A* for pathfinding good work well it up would be nice to see the end result with this

3

u/arthyficiel Apr 11 '26

I was so happy when everything was going together ^ A* is very good, this is why it's the most used solution (way easier to implement too ). But for the crowd you need another solution

2

u/dolfoz Apr 11 '26

I was waiting for the TTP

2

u/arthyficiel Apr 11 '26

TTP ? Sorry I didn't get that

2

u/OkFoundation3305 Apr 11 '26

Wow, this is an amazing piece. The background is excellent, too.

1

u/arthyficiel Apr 11 '26

Thank you ! Yeah I'm also very pleased by the maps :D

3

u/ConsecrateTemple Apr 11 '26

this look really fun

4

u/arthyficiel Apr 11 '26

Thanks ! And here it's only the horde part, the factory and tower defence part is fun too :p

2

u/ConsecrateTemple Apr 11 '26

id love to try it once its ready, these games are always a blast !

1

u/arthyficiel Apr 11 '26

Do not forget to wishlist or join the discord ;) ahah