Hello I am designing a game and it is already pretty fun to play. Users on good…
- User
Hello I am designing a game and it is already pretty fun to play. Users on good computers report that the game is a lot of fun. although users on older PC's and laptops report the game is lagging and stuttering and the loading times are long. each time they enter a house and when they exit a house loading times are 15-20 seconds. when observing a tester I noticed he tries to avoid entering homes or shops as much as possible to avoid loading times. The game was made in unity. it is single-player 3D and plays in a single city with loading zones for each house. If I want to increase the quantity of people having fun in the game what should be done?
- Assistant
What you need is to a bit of game optimization. Here are a few suggestions which can help you fix your problems.
- Make sure that you are culling your objects properly. It is possible that your game is rendering people who are not visible on screen, which means every time a new zone loads, the game has to re-render every single person, which may cause your game to load very slowly. Therefore, the trick is to not render things when they are not visible to the player, which will increase your game performance.
- Make sure that you are not running expensive update functions at every frame. The more things the game has to keep track of, the more performance it will require from the player's computer. Instead of keeping track of every detail such as the exact position and action of each and every NPC, it is OK to abstract some of them to only update when the game loads into an area.
- Make sure your assets are properly optimized for games. Many assets from the internet are designed for 3D rendering, and as such contains a much higher number of polygons than typical game assets and does not have the proper scaling level of detail (LoD) baked in. Many of the 3D assets, therefore, needs to have their polygon count reduced in order to not tank your performance for your entire scene.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.