How to get better performence on slow pc

Hello, i am making a very simple game in 3d with a cube and not much more, now i tried to let my friend try the game, and he could not even run it cause the frame rate was to low on his pc.
So my question is how to make the game run with better performence on a slow pc?
I mean this game is so simple and got so little items and meshes so i think it must be possible making it run better on slow pc.
Would be glad for any help on this.

Without knowing something about the project it is hard to know what you could do to reduce the resource draw.

  • Make sure you have Nothing attached
    to an “On Tick”

If you have things tied to them, unhook them. Create a Custom Event to handle the work and set a timer to call that event in as large a part of a second as is reasonable.

  • Reduce the complexity of materials.

If you have materials that are using over 150 instructions - you can probably find a simpler way of producing the same result.

  • Find the simplest methods to perform
    actions.

Rather than adding 1 to a value and setting it, use Increment. Same for Decrement.

120639-opt_increment.jpg

Rather than using a Branch to see if a boolean is on or off, then setting another - just tie them together.

120640-opt_booleans.jpg

  • Use Instances where possible.

Two blueprints that are identical use the same amount of resources.
A Child blueprint where you make changes uses less than its parent.

A material for blue, red, yellow… etc
Is wasting a lot of resources.
Just make one material and make the color a Parameter, then make Instances of that material with blue, red, yellow, etc set as the color.

  • If the game isn’t really doing much
    but is running slowly anyway, it
    could just be that their computer
    can’t handle the video requirements.

In Edit → Project → Project Settings.
Scroll down to Render.

Turn off Mobile HDR.

Down at Reflections - Reduce the Capture Res to 64 (or 32 if you’re really squeezing)

Down at Lighting, if your map(s) don’t use Static lighting, disable it.
The other settings can be desabled as well (but you may want to test them one at a time to see how much they effect the result)

Same for Default Settings.

  • If you set Antialiasing to None - you will get jaggies.

And at the bottom in Shader Permutation Reduction. . You can disable support for Fog if you aren’t using any.


There may be a lot more you could do but it would depend on the game itself.

Eg. If you have a moving character that uses InputAxis, you can add a Branch to ensure you aren’t doing the “movement” work if the input is 0.

Thanks allot for that answer, well i do use “on tick” and did not know that could slow down the game. I guess that the problem for my friend is that he have no good gpu, so i will try to adjust the settings you recommended :slight_smile: thanks allot.