3 ms·
Did you look at Unreal engine? The entire source is open to examine and modify (registration required). Resource management can be a really big chunk of the c
by midnightclubbed 6y ago
Did you look at Unreal engine? The entire source is open to examine and modify (registration required).
Resource management can be a really big chunk of the core game engine. One reason there is less documentation is that there is generally not one right way to do it. Different games have very different requirements and solutions that work for one game/genre will hurt performance (or team productivity) for another.
One infamous example was the EA Superman game which was developed using the Madden NFL engine. At a very top level that may have been a good idea (battle tested Multiplatform engine with great character rendering). The game requirements of long draw distances, scripted gameplay, and detailed city environments were (very sensibly) not something the engine had been designed for and so became enormous issues for the Superman team.
- moron4hire 6y ago> One reason there is less documentation is that there is generally not one right way to do it. Yes, but the way that most OpenGL tutorials leave you at by the time you're done is distinctly the wrong way. > Different games have very different requirements and solutions that work for one game/genre will hurt performance (or team productivity) for another. I wouldn't say different games have very different requirements. Different genres of games have different requirements. We can make a lot of assumptions about flight simulators versus real time strategy games, for example. There doesn't even seem to be that level of discussion: what the particular tradeoffs are, where, why, and when you'd want to take them.