Jump to content
  • Advertisement
Sign in to follow this  
Hunter789

Game with game editor technique

This topic is 2747 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello all,

I'm trying to figure out a good way to desing the architecture of a game that will work well with it's edtior (and obviously a way to design the architecture of the editor to work with the game). I'm thinking something like Torchlight with its TorchEd.

I know one of the techniques consists in starting the game in edit mode (the game editor does that) with a window handle indicating in which window the game should be displayed. When the game is started, it communicates with the editor by commands sent by TCP/IP. Is there a name for that technique?

I've tried to search the web for other techniques but was unsuccessful. Do you guys know where I should look to find more ways to do it?

Thanks a lot!

Share this post


Link to post
Share on other sites
Advertisement
There's any number of techniques for this; they generally fall under the umbrella of "interprocess communication" or IPC. TCP/IP is one method, but generally if you use raw networking you have to do a lot of implementation work yourself; another family of options goes by the name Remote Procedure Call or RPC. RPC has a large number of excellent libraries in various languages and is generally pretty robust, albeit sometimes a little heavyweight. The .Net world has some great options for embedding engines inside editors and such (you can mix/match C# and C++ fairly easily if you design clean interfaces, for instance) and there's always COM if you just want local editing.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!