Hi everyone,
My game is pretty simple graphics wise (not much happening on-screen), but I need to do some pretty big calculations. I’m currently running the game at 60fps but only doing the math every 30fps to help lower CPU usage.
Example: Having a number of 950 quintillion and adding 4 quadrillion to it. I do this multiple times per frame like I mentioned, and the CPU usage is basically always maxed out doing tons of calculations like this. What’s the best way to improve this? I’m generally only doing addition, but I also do a couple divisions and multiplications each time as well (30 fps).
Thanks!