This might be a very simple question. But I am building an RTS type game where there easily could be 1000+ agents in the scene. I was wondering if Nodecanvas has any performance impact that would limit this? or if there is something I should be aware of.
NC is really very optimized when running and after initialization, but of course the more the agents are and depending on what they (the graphs) are doing, naturally, the more the impact on performance will be.
Apart from this..natural effect, the only other thing, that I think you should be aware of beforehand, is the fact that initialization, which is done once for each agent, can be slow (even given the fact that I have optimized it a lot) due to the json deserialization taking place, which is pretty much unavoidable and creates allocations. BUT, after initialization, everything should be rock solid in performance with zero allocations except a very few cases (eg certain nodes or tasks in use).
If you need more information, please don’t hesitate to ask.
Thanks!