Game Development Community

Set Images to NOT Preload?

by Robert Carroll · in Torque Game Builder · 04/23/2010 (2:59 pm) · 2 replies

Is there a way to do this? Im getting about 5 min load times on my game.

#1
04/23/2010 (3:31 pm)
Yes - in the editor, double-click on the texture in the right pane (under Create), and simply uncheck the "Preload" box.
#2
04/27/2010 (1:28 pm)
Unfortunately, even with preload off, TGB decompresses every referenced image as soon as its corresponding datablock is loaded. This means that even though you won't see memory increase for preload = "0" image datablocks, their load times will be approximately the same length.

The official solution is to manage your datablock loading manually, although this is a pain if you're also trying to use the TGB editor.