Jump to content

[c++] How create a load terrain


GoldNotch
 Share

Recommended Posts

Whenever you use Map::Load, a new map enters the current existing world. So if you load map1 and map2, both will be merged into the world.

 

Alternatively, you can do something like this:

Terrain *mTerrain = Terrain::Create();

And work from there. I haven't seen any documentation of it on the wiki about it though. I'd recommend making a terrain in the editor (as seperate map) if you know what you want for your world.

Using Leadwerks Professional Edition (Beta), mainly using C++.

Windows 10 / Linux Mint, Visual Studio 2017. GPU: NVidia GeForce GTX970, CPU: Intel i7 7700K @ 4.20 GHz

Previously known as Evayr.

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