Jump to content

Is Loading More Than One Map OK?


gamecreator
 Share

Go to solution Solved by Josh,

Recommended Posts

Say you do

Map::Load("Maps/scene1.map");

and then

Map::Load("Maps/scene2.map");

without clearing scene1.map.  Last time I tried this (with just a basic test scene), it seemed to load both fine.  Is this OK to do with Leadwerks or could this raise issues in any way?  I haven't tried it yet but is this a way to get multiple terrains or multiple water planes into your scene or will that just result in bugs/crash?  I'm just thinking about how I would go about streaming scenes in.

 

Link to comment
Share on other sites

The test I did just had a model in one and another model in the other and they both loaded.  I can certainly test it with terrain and navmesh and water to see what happens but I wonder if it might break something, even if it seems to work.  In other words, must you clear the first map before loading in the second, per Leadwerks rules?  Or does it depend on the content?

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...