Yes, code could be optimized through decreasing algorithms complexity (for example you make fewer loops inside the loops and replace this with another construction), you can remove objects that are taking too much space or unnecessary calls, clean up objects as soon as they are not used, etc.
Also graphics can be optimized, by adding occlusion culling and managing the level of details, but I don’t know much about it.
Latest Answers