First of all, I want to apologize for any writing errors. I am Brazilian, and my English is not the best. I am using ChatGPT to translate.
I am using version 4.28
I’m having some issues optimizing my 2D game. I’m making a 2D game similar to Vampire Survivors, but I’m experiencing FPS drops on slightly weaker machines. I don’t know what I could do to improve the FPS. I’m already using forward shading, but I’m not sure which options I should disable to increase the FPS. My idea was to disable most of the rendering options, such as lighting and rendering effects, to achieve better performance with a large number of enemies. However, I’m not really sure what I should do.
These are the results I obtained from the test. The problem is clearly with the CPU. However, what can I do to reduce usage and maintain the number of enemies on the screen?
Note: Sorry for everything in Portuguese, but I hope you can understand.
Note: When I did this test, I reduced the enemy’s damage to 0 to have the maximum number of enemies on the screen without dying. For some reason, this caused the FPS to drop from 120 to 30.
it’s very hard to point the logic problem you are facing without knowing what are you doing in the code. Looking at the screenshot, the game doesnt seems to be too cpu consuming but there is something that is exhausting the CPU.
Ok, so probably any other lighting or graphic settings I change won’t increase my FPS?
What tests could I do to find out which blueprint might be causing the FPS drop?
have some idea of what it might be, almost certain it’s a problem with the enemy’s programming loop or something like that. Thank you, I’ll look into it and when I find it, I’ll probably come back to the forum asking how to fix it.