Jump to content
  • Advertisement
Sign in to follow this  
mousetail

Level Design in Visual Stuido 2013 & XNA

This topic is 1494 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

So, I am working on a RPG, and I need a level editor. I first wanted to make it a separate program, with the game consisting of a engine, the game, and a level editor. The advantage of that was you could reuse the engine and the level editor to make more games. The problem is that the level editor should be able to import its own graphics without opening Visual Studio, but there doesn't seem to be a way to load external images. Yesterday I go the idea that instead of a separate program, the level editor could be a visual studio extension. The problem with that is I would need to update it many times while I already started using it, and I don't know if that would work.

This seems like a common problem, how do you do your level editing?

Share this post


Link to post
Share on other sites
Advertisement

Hi,

I didn't quite understand your extension idea, but what do you mean "the level editor should be able to import its own graphics without opening Visual Studio", why is that not possible?

Share this post


Link to post
Share on other sites

I think he's talking about the content pipeline which is embedded in visual studio.

It's possible to build the pipeline in a separate assembly if I remember correctly to use it from other projects as well. I haven't used XNA in 3 years though so I may be mistaken. 

Share this post


Link to post
Share on other sites

I'm going to assume you are working in 2D, which in that case this tutorial has some very useful sections that I believe will help you : http://xnagpa.net/xna4rpg.php

 

You can load in Texture2D objects in a windows forms project using Texture2D.FromStream(...). You will need to set up a graphics device first within the WinForms project and there is a sample on creators club website that will show you how to do that : http://xbox.create.msdn.com/en-US/education/catalog/sample/winforms_series_1 . I believe the RPG tutorial I linked above uses that sample as its base for displaying the map and loading in textures.

 

Hopefully this info will help you out.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!