Approaches and techniques for managing of game assets (resources). Usually things like sounds, textures, models, animations, etc. that take up memory.

learn more… | top users | synonyms

19
votes
2answers
2k views

If “ResourceManager” classes are considered bad, what are the alternatives?

I'm hearing conflicting opinions such as: "Dedicated Manager classes are almost never the right engineering tool" "Dedicated Manager classes are (currently) the best way to survive a large project ...
13
votes
1answer
5k views

Designing a ResourceManager class

I've decided I want to write a central ResourceManager/ResourceCache class for my hobby game engine, but am having trouble designing a caching scheme. The idea is that the ResourceManager has a soft ...
3
votes
4answers
790 views

Help streaming resources (maps, sounds, music, etc) from many files for contiguous world

So I'm creating a game and I would like to know how to perform resource streaming (rather than loading the whole file into the buffer) for things such as my maps, sounds, music, etc. I'm using C++ and ...
5
votes
1answer
882 views

Explicit resource loading in Ogre (Mogre)

I am just starting to learn Mogre and what I would like to do is to be able to load resources 'explicitly' (i.e. I just provide an absolute path instead of using a resource group tied to a directory). ...
6
votes
1answer
2k views

How to manage shaders?

I've done some shader programming some time ago but only simple stuff. I'm especially interested in how do you manage shaders? Do you just write one of each kind, or do you need more of them? If so, ...
4
votes
2answers
258 views

How can I determine a budget for RAM used (LRU involving VRAM, in particular)

After some profiling, I've determined that one of my most expensive functions involves drawing text. As a solution, I'd like to implement a LRU type of cache that will "remember" the vertices, tex ...
4
votes
5answers
1k views

What is the best approach to resource management in game design?

I studied computer engineering before but have been lagging in the technical aspects as of late. Seeing as I think it would be to my advantage as a designer to understand how resources are used and ...