Programming a Level Editor

Started by
2 comments, last by Alex Disalvo 9 years, 3 months ago

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!

Advertisement

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 )

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.

Sean Middleditch – Game Systems Engineer – Join my team!

Thanks Guys,

Those answers Helped me a LOT!!!

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

This topic is closed to new replies.

Advertisement