Posted February 21, 2025 by SaintPesticide
Hello! Today I rewrote the Sound Effect System of the game! Before that it was basically non-existent and as such sound effects were very un-optimized, because in how much of a hacky way I implemented them for the enemies and other stuff in game.
Each source of 3D sound creates load on the game and before this rewrite there were ~1307 sound sources, which was REALLY bad for the performance, even if not all of them were active at ones.
Now, after the rewrite, the game uses only around 95 at max and this amount is no longer dependent on the amount of enemies. It is practically static. I think the numbers say for themselves how much better it is.