Skip to main content

Questions tagged [optimization]

The process of modifying software to make some part of it work more efficiently or use fewer resources. Generally, this means it executes more rapidly, or will require fewer resources.

1 vote
1 answer
61 views

When employing texture arrays how does typically communicate the associated indices when rendering to batch as much work as possible per draw? The only approaches I can think of are: Supply texture ...
Benjamin's user avatar
1 vote
1 answer
92 views

I have a scene with quite a few gameobjects in it and for the first time since using Unity, when I enter/exit play mode (or even close and reopen the scene) it takes about a minute to complete this. ...
FrontEnd's user avatar
  • 1,789
0 votes
0 answers
86 views

I am playing a scene in Unity editor. If I play the whole scene, the FPS is 125. Next, there are 2 test cases. Case 1: If I disable some big game objects first, and then play the scene, the FPS is ...
Job_September_2020's user avatar
0 votes
0 answers
159 views

I have heard many conflicting opinions about the pros and cons of using terrain vs mesh in Unity. Some people say that terrain has better performance while others say mesh does. So, I am not sure ...
Job_September_2020's user avatar
1 vote
1 answer
141 views

while I was trying to optimize SDL2 rendering phase as much as possible, I reached a wall. I tried to search on the internet but I could not find any solution. So, I need help. Let me explain the ...
Binary Series's user avatar
0 votes
1 answer
110 views

I made a WebGL game at https://jugglecats.itch.io/startastic (password is "password"), but the game was far too large, making it take a too long to load. Upon inspecting the build report (...
Almenon's user avatar
  • 113
0 votes
1 answer
148 views

I'm developing an ECS framework in C++ and after doing every optimization I could think of, the comparison with a naive array look up is terrible. It's 10x worse in debug mode and 3x worse in release ...
Cool guy's user avatar
  • 186
0 votes
1 answer
91 views

I have a problem with badly optimized palette cycling function of the background shader: ...
Tarak Tarakovich's user avatar
0 votes
2 answers
311 views

I'm using OpenGL but this question should apply generally to rendering. I understand that for efficient rendering in games, you want to minimize communication between the CPU and GPU. This means pre-...
greenlagoon's user avatar
1 vote
1 answer
163 views

Asking this question because I want to implement performant sound handling on weaker systems. While focusing on such systems are a deadend since everyone has fast devices, I still want to do this as a ...
Hash's user avatar
  • 93
0 votes
1 answer
117 views

I am trying to work out how to use LOD Groups with interactive gameobjects. As a simple example lets say I have a prop which when the player is a certain distance away it plays a sound. The problem I ...
FrontEnd's user avatar
  • 1,789
0 votes
0 answers
24 views

In my engine I have the possibility to switch from isometric or first person camera, with a far/close camera point of view. In isometric mode the camera point of view can also be in either the -X or +...
philB's user avatar
  • 331
0 votes
0 answers
66 views

The game I am making is having big lag spikes once every 10 seconds or so while running. The spikes seemed to correlate with garbage collection (although I can't be 100% sure), so I thought my problem ...
Depenau's user avatar
  • 111
0 votes
0 answers
83 views

ValueAnimator sounds like an awesome way to animate values which can be used on views. But, somehow the animated values are not showing up as they should! I used this set up before to animate a ...
i_o's user avatar
  • 131
0 votes
0 answers
61 views

I created a game using xml and views on Android. Yes, I know it was not the best choice of development for a 2d game. But, my game is turn based, so mostly static. You can test the game out here: ...
i_o's user avatar
  • 131

15 30 50 per page
1
2 3 4 5
83