Jump to content

Editor available in own game


andy_s
 Share

Recommended Posts

I have a question on how to setup my project properly. I have created a LE.NET Project in an own folder. Now in order to have the editor available, which files do I have to copy into my project folder?

My goal is to have basically the editor in my project, along with the shaders, all materials and the possibility to script in LUA.

 

I read on Scene loading. It seems in older versions, it was more complicated. Is it now as easy as just calling LoadScene from C# and then it loads up the whole scene, including all gmf files in it? When chaneging the scene, is it enough to just unload the scene, or do I have to delete all entities in the scene first?

Link to comment
Share on other sites

I have created a LE.NET Project in an own folder. Now in order to have the editor available, which files do I have to copy into my project folder?

 

My goal is to have basically the editor in my project, along with the shaders, all materials and the possibility to script in LUA.

 

Then you have to copy all folders over to your project folder, and modify the path settings in Editor.

 

I read on Scene loading. It seems in older versions, it was more complicated. Is it now as easy as just calling LoadScene from C# and then it loads up the whole scene, including all gmf files in it?

 

Correct. Back before some version I don't remember, you had to manually iterate through all the childs of the loaded scene and instantiate any lights and assorted other entities yourself. Today, LoadScene will load everything, no further setup required.

 

When chaneging the scene, is it enough to just unload the scene, or do I have to delete all entities in the scene first?

 

No, unloading the scene is enough. You don't have to delete all the entities in it, they are all childs of the scene.

 

Cheers!

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