Jump to content

Loading Bar


Tommek
 Share

Recommended Posts

I think you are hosed a little with this one because when you call Map:Load() LE loads all entities behind the scenes and we don't seem to have any control while it does this. I think you were making the LOD system right? You might want to consider placing the lowest LOD in the editor, but somehow linking the higher ones in a way that you load them after Map:Load() so that you have more control over loading 1 at a time while you update a loading bar.

Link to comment
Share on other sites

Oh that may work. I didn't notice that. Do you know if that gets called after each entity is loaded, or does it get called at the end for each entity that did get loaded? Guessing this would be more of a back and forth sort of bar instead of an actual entity count sort of bar.

 

OP, Note you'll have to call the drawing stuff of the context then to update it to the screen. You can't rely on the existing main loop that does this as that part never gets called during Map:Load().

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...