Jump to content

  • Log In with Google      Sign In   
  • Create Account

Programming a Level Editor

  • You cannot reply to this topic
3 replies to this topic

#1 Alex Disalvo   Members   -  Reputation: 104

Like
0Likes
Like

Posted 23 December 2014 - 11:29 AM

Hello Guys,

 

I have a question, I recently got into C# and Game Developing. And I am already working on a game (Mini games really) but when I was planning along with my team to make a Platformer it came to my mind.

 

Should we play with Rectangles and coordenates to design the levels? or Would it be best to program a Level Editor... if the latter is the best option. Could you provide some sort of example or guide to see anything related?

 

Thank you for your time!



Sponsor:

#2 Muzzy A   Members   -  Reputation: 701

Like
1Likes
Like

Posted 23 December 2014 - 01:36 PM

Having a level editor will make the creation of your levels go MUCH faster.  It will save you a lot of time to go out of the way to create the editor.  Making a 2D editor should take you no time at all. ( Assuming you're using C# Windows Forms for it )


Edited by Muzzy A, 23 December 2014 - 01:36 PM.


#3 SeanMiddleditch   Members   -  Reputation: 7265

Like
5Likes
Like

Posted 23 December 2014 - 04:01 PM

Always a level editor first.

Good game companies put significant resources into their content creation pipeline. It's one of the many areas in game dev where the initial cost of developing something will negate far bigger costs incurred down the road. Spending a month to save 5 minutes of work doesn't sound worthwhile until you realize that many people will be incurring that 5 minutes of work multiple times per day over the span of several years.

Note that there are pre-existing level editors. They might not be good fits for your game; a 70% fit is better than not having an editor at all, but good practice would be to put in the time and effort to get to a 100% fit before having anyone invest serious time into making your content.

You can make a Windows-only toolset easily enough in C# using Microsoft's GUI libraries, or a Qt app, or a wxWidgets toolset, or one based on HTML5 via Chromium Embedded Framework or Awesomium, or any of a number of other high-quality options. For smaller projects I'm a fan of building your editor right into the game. For larger projects, a separate editor that can embed the game support code into it works better.

#4 Alex Disalvo   Members   -  Reputation: 104

Like
0Likes
Like

Posted Today, 04:50 PM

Thanks Guys, 

 

Those answers Helped me a LOT!!!

 

You have made a brilliant point Sean. Thank you very much Guys!







PARTNERS