Welcome to the team. Glad to have you onboard. It’s been nice seeing your PRs fixing random stuff that’s been known for a long time. I’m sure everyone will be glad to see many long-standing microbe bugs being taken care of.
Btw if you didn’t see the context yet about the refactor I told you about on Github, it’s this:
While working on redoing the game logic using a custom physics engine and just delegating rendering to Godot, I’ve started to re-evaluate using a full Entity Component System (ECS) approach. I just spent a couple of days basically just commenting out code and putting an absolute ton of not implemented exceptions into the code. The most egregious place being the Microbe class, which even when split into multiple files is quite a behemoth. I had originally said that redoing the game with a full EC…
And this for the wider context:
Let’s get some information down on the dev forums as well about low performance.
So the game seems to drop to low FPS after playing for quite a while. Even dropping to single digit FPS. I’ve already reduced the game entity limit from 1000 to 300, but even that doesn’t fully help, but seem to at least postpone the problem a bit.
I’ve done C# profiling:
[Kuvakaappaus - 2021-12-05 10-42-11]
[Kuvakaappaus - 2021-12-05 10-46-30]
And native code profiling:
[ima…