Pro's and Con's: Having Your Editor Be Embedded In Your Game
#1
Posted 22 February 2007 - 06:23 AM
I'm just curious to get some brainstorming here:
What are the benefits of having your game *be* the editor? i.e., you can start it up one way as your game, another (via command line parameter, ostensibly) to start it as your editor.
Or does it make no sense?
Just curious. I'm personally going with having a separate editor from the game, but I'm not sure if that will forbade me from doing something else (running my game from within the editor, perhaps?).
No rush, just looking for some opinions. ;)
#2
Posted 22 February 2007 - 07:06 AM
#3
Posted 22 February 2007 - 07:08 AM
#4
Posted 22 February 2007 - 07:16 AM
Deled, Grome, SILO3D (cheap modelling package)
Others escape me at the momment but they all come with good SDK's. So if you are not in a position to put tools in place. You could put other tools in place, the one thing I really really hated about torque was the art workflow, just one too many steps. Try and keep the art steps to a minimum. I always love to see Create Something... then export, then load in game.
Having your editor ingame will eliminate that, but editors can be incredibly tough to complete, so just be aware there are alternatives.
#5
Posted 22 February 2007 - 07:19 AM
I'm just curious as to the benefits of having the editor build *into* the final game. My approach is to use shared libraries and have different front-ends for the editor and game. Just curious if there's a compelling reason to have them be one in the same.
#6
Posted 22 February 2007 - 09:39 AM
The ultimate solution (in my eyes), would be to be able to hit a key when playing the game to pause all simulations and game logic, and switch to the editor mode.
That way, when you (or the level designer) discover something in the game that needs tweaking, you can fix it immediately.
#7
Posted 22 February 2007 - 11:36 AM
This is if you mean editor, not modeller (so you edit game specific aspects, not actual meshes etc). I'd not try and create an ingame modeller. Artists like to stick to the tools they know. On the othert hand it'd be nice to be able to fire up the game/editor from the modeller with a single keypress.
Alex
#8
Posted 22 February 2007 - 11:57 AM
The obvious pro is that an integrated editor can easily use a larger amount of the game's codebase to perform tasks, interact or present information. Entity definitions, pathfinding and AI routines, sound, even the gameplay interface for testing a level's "feel" as you edit.
#9
Posted 22 February 2007 - 12:30 PM
1) Standardize the editor's interface and functionality, and thus improving productivity
2) Reuse the editor for multiple projects
3) Is a light-weight application for designers
4) By decoupling from the game code, you reduce the lines of code in your game, keeping it cleaner and reducing the number of potential defects.
The important key here is that your use your engine to make your editor. You could even use your engine for the interface, which would probably be easier than using owner drawn MFC controls *shutter*. While setting up your environment you can have a game window or game viewport in your editor to monitor the results in real-time. If you wanted to test the results for a specific object you created, you can play with it by toggling an editor/play mode. Play mode will temporarily alter the state of all objects in your viewport, but will reset all object states once you go back into editing mode.
#10
Posted 22 February 2007 - 11:02 PM
Having the editor built into the game can be a real bonus if it's something the player would enjoy using. On the other hand if your players get wrapped up in trying to figure out the level editor too early they might not actually spend time playing the game you've put all that effort into making.
#11
Posted 22 February 2007 - 11:10 PM
I personally don't understand the appeal of having it in a PC title, where you'll be forced to have all sorts of if(bIsInEditor) runtime checks, myself.
#12
Posted 23 February 2007 - 02:36 AM
What if instead you thought in terms of:
"Pro's and Con's: Having your game be embedded in your editor"
The game would utilize an engine interface which can be interchanged between the editor and a normal game UI.
#13
Posted 23 February 2007 - 03:01 PM
Games with build in editor:
- various strategy games
- trackmania
- stunt driver (anyone remember this? it makes me feel old)
- puzzle type games
- tony hawk
Games with separate editor:
- all first person shooters
- other games requiring a complex 3d environment
I conclude that 2d games or ones requiring a 3d level built by placing sections onto a map should probably have the editor built into the game. On the other hand, any game requiring a complex 3d level which will probably take quite a while to make should have a separate editor.
Also you may want to consider what else people will want to do at the same time. Building a level for a first person shooter takes ages if done well and I for one would probably want to be sat on some sort of instant messaging program at the same time and probably want to have access to a web browser to look for inspiration. These things are a lot harder when running a full screen program.
#14
Posted 23 February 2007 - 03:44 PM
ray648 said:
- all first person shooters
- other games requiring a complex 3d environment
Doesn't CryEngine have a built-in editor? Or am I making that up?
#15
Posted 23 February 2007 - 04:11 PM
Reedbeta said:
#16
Posted 23 February 2007 - 04:50 PM
At one point, I thought I might want to have an external editor as well, so I began some code to allow it to receive "editor commands" through windows messages. Never did take it all the way though. Once the internal editor was enough to make the levels, I didn't bother doing a "prettier" external version.
#17
Posted 25 February 2007 - 03:07 AM
-
Currently working on: the 3D engine for Tomb Raider.
#18
Posted 06 March 2007 - 08:36 PM
From a technical standpoint you could say that everything that gets created procedurally by the engine can easily also be edited inside the engine/game. And it makes sense too, I think, to be able to tweak/deform a patch of terrain for example from inside the game.
To wrap it up... I think in game edditing can be very interesting from a game design perspective as well as a game development perspective. Allthough from a purely game development point of view I can clearly see the cons that have been mentioned in the thread.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












