freeing resources?

Blitz3D Forums/Blitz3D Beginners Area/freeing resources?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Peter,

Assume you're building re-usable mesh sections in each level?

Would not recommend loading stuff dynamically as this will be very Slooooow and halt program execution. There is no native way for blitz to stream the loading of a mesh.

Instead load all the mesh sections required for the level at the outset and hide them all. Create the level by placing instances of the sections in a row. Blitz will automatically handle the culling of sections which are not on screen although it may be quicker hiding and showing the relevant parts manually.

Stevie