x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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.

Product Version: UE 4.14
Tags:
more ▼

asked Jan 03 '17 at 01:35 PM in Using UE4

avatar image

flonkulina
1 3 5 5

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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. inc-dec

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

  • 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.

opt_increment.jpg (28.2 kB)
opt_booleans.jpg (57.0 kB)
more ▼

answered Jan 03 '17 at 02:18 PM

avatar image

Looniper
766 22 7 36

avatar image flonkulina Jan 04 '17 at 12:37 PM

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 :) thanks allot.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question