So I have an idea that one could setup a thread to load objects that runs parallel to the main thread. This thread would, when fed info on what to load in a message queue, that it would load objects (dbLoadObject(...)) in that thread and blacklist that object number (maybe dbHide that object until it is finished loading so that it is not drawn) so that nothing else flips out.
So my question is, is this possible? Or will DGDk still throw an error if it has an object loading in another thread when called to sync?
Is there another way to do this? I notice that dbLoadObject has a third parameter that I have yet to understand?
P.S. The reason I want this is because in my game new players/npcs are going to be coming in and out of view very commonly, and loading every since game object before the game starts is not possible. So I'm trying to have the client load things on the fly but to load things over time so that the client can keep a somewhat consistant framerate to work with as to not completely stop the game while the object loads.
Ventures of the worlds around us are limited only by our imagination.