Asynchronous content loading


Currently, it's impossible to spawn logic objects that require content at runtime. That's because the OnLoad method will be called only once after Initialization. It's necesary to implement an asynchronous loading mechanism to load the pendant assets during runtime.
Although it is no a priority right now, it must be easy to adapt into a multithreaded archytecture.
Closed Jan 21, 2009 at 6:53 PM by nolver
It's now possible to create objects at runtime, and they will be started and ticked once their resource assets are succesfully loaded.

The only thing left is to implement this in other thread.


nolver wrote Jan 21, 2009 at 6:52 PM

  • Created a ResourceManager for the Engine
  • Created the LoadableResource class, and ILoadableResource interface
  • Modified all resource dependant objects to make use of the new manager
  • Logic object that use resources must implement "checkResourcesReady()" method

wrote Jan 21, 2009 at 6:53 PM

wrote Feb 12, 2013 at 9:13 PM

wrote May 14, 2013 at 9:29 PM