Hi, I've been using Blitz3D for just a few months and (probably amateurishly) I've been loading/creating all my resources (meshes, surfaces, textures, entities, etc) at startup and keeping them loaded the whole time.
Now, I want to start doing things in a tidier fashion. I imagine that what I should be doing is loading/creating resources on starting the game from the in-game menu, then destroying everything on game over.
However, Blitz seems to lack clean-up commands. I can delete entities, brushes and textures, but I can't free up meshes and surfaces. I can, however, use ClearSurface, so at least the mesh wouldn't be visible when the user is returned to the menu.
My simple question is: Do I just declare my meshes and surfaces on program startup and use ClearSurface as described above, or am I missing something and there's a way of freeing up meshes and surfaces?
Now, I want to start doing things in a tidier fashion. I imagine that what I should be doing is loading/creating resources on starting the game from the in-game menu, then destroying everything on game over.
However, Blitz seems to lack clean-up commands. I can delete entities, brushes and textures, but I can't free up meshes and surfaces. I can, however, use ClearSurface, so at least the mesh wouldn't be visible when the user is returned to the menu.
My simple question is: Do I just declare my meshes and surfaces on program startup and use ClearSurface as described above, or am I missing something and there's a way of freeing up meshes and surfaces?