- Home /
In-Game Editor in Unity possible?
Hi, is it practicable to create an in-game level/feature-editor in unity?
Answer by BerggreenDK · Sep 25, 2011 at 08:39 PM
Practical? depends on what type of game you are looking for I think.
I have been programming on our level editor for the past few month now. All in all because I was unhappy that the artist had to become a Unity expert before we could actually start to do some work.
Secondly, I would like the levels to be saved and generated on a gameserver instead of being part of a compiled unity3d file.
Lastly, the leveleditor we have build now, only has the buttons and options needed for the actual game. This gives us 100% control over what the leveldesigner can put into the levels and still maintain a stable run-time for the game, once we compile the final version.
Ooh yes and btw. it also allowed us to make revision and access control on the levels.
Can I start a unity game from another unity-game? The called game is just the editor.
This is a great approach, we're also doing something similar.
Our game and editor is both Webplayer versions. With webplayer, you can load the editor/game in two ways 1) as a scene/level from within same Unity file, or 2) completely replace the running file with another.
Answer by keld-oelykke · Sep 25, 2011 at 08:37 PM
The first problem you needs to solve is to persist changes. I am not aware of a way to modify unity assets from a standalone build. However, you can make your own data format.
The second problem is to show which in-game objects are selected and how they can be modified. Unfortunately, gizmos (debug/editor gfx) seems not to be supported in builds, so you have to build your own gfx and overlay it on the "real" objects.
Otherwise, inputs and gui makes it possible for you to make the interactive editing experience possible. Remember that the unity editor runs as a standalone application using the unity engine.
We would like this possibility too, but it hard to ignore the work amount required - especially if you want both top view and 3rd person view.
Regards,
Keld Ølykke
There are free scripts that allows you to load/save .OBJ files. These are Alias WaveFront 3D fileformat. Loading sounds and textures is not a problem.
Answer by J-Snake · Sep 26, 2011 at 07:43 PM
Can the level-editor itself just be considered a game itself? Can I then call its exe from the actual game? So the principle is to just calling starting a game from another game.
please check out the FAQ of how to use this forum, you shouldnt post new questions as answers in this forum. its kinda wrong.
Your answer
Follow this Question
Related Questions
in-Game camera movement like editor 3 Answers
Work in Editor but not in Built 0 Answers
Weird behaviour in standalone but not in editor 1 Answer
In game editor 0 Answers
Editor like position and rotation change of a game object 0 Answers