gamecreator Posted April 15, 2020 Share Posted April 15, 2020 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. Quote Link to comment Share on other sites More sharing options...
Thirsty Panther Posted April 15, 2020 Share Posted April 15, 2020 They would both load ok but wouldn't map 2 overwrite map 1? Haven't tested this myself but I think you can only have one map available at a time. Quote Link to comment Share on other sites More sharing options...
gamecreator Posted April 15, 2020 Author Share Posted April 15, 2020 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? Quote Link to comment Share on other sites More sharing options...
Solution Josh Posted April 16, 2020 Solution Share Posted April 16, 2020 No problems with this at all. 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts
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.