Re: Is there a good way to handle multiple enemies who can effect each oth
Interesting that SoundRTS is slow. I'd make sure you're not on an old copy. Some friends and I updated it to not be slow anymore some years ago, after which we were handling a thousand units fine. I wonder if someone went in there and started using lists everywhere again.
Also, it's not exactly that Rust isn't nice to work with. It's just that in order to use it you're going to have to start by fundamentally rethinking all of how you do programming.
I'm not saying run to Python, just something to the effect of if this is a problem and you don't know how to solve it and what you care about is a game and not learning how to solve it, maybe Rust isn't for you for right now. It does have some very strong stuff going for it: serde, as you've discovered, a very good ORM, a very good story around HTTP and networking services, and so on. I use it at work and we all like it, in fact two of us credit it for increased reliability at least a little bit (though it is too early to tell if that's true in practice).
But if you're not ready to use an ECS for everything...well, you'll have problems. ECS is actually very effective, just, again, rethinking much of how you do programming is required.
-- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector