making a level editor

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Post Reply
robotcraig
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 7
Joined: Tue Jun 09, 2009 9:11 am
Current Project: level editor
Favorite Gaming Platforms: dreamcast, sega, ps2, xbox360
Programming Language of Choice: c++
Location: luton (in england)

making a level editor

Post by robotcraig »

hi
im trying to make a level editor in c++ for a 2D game but i dont know where to start on it, i do know c++ well but i just dont know where to start on my level editor

any help would gr8 thankz for reading this

robotcraig
User avatar
hurstshifter
ES Beta Backer
ES Beta Backer
Posts: 713
Joined: Mon Jun 08, 2009 8:33 pm
Favorite Gaming Platforms: SNES
Programming Language of Choice: C/++
Location: Boston, MA
Contact:

Re: making a level editor

Post by hurstshifter »

http://lazyfoo.net/articles/article09/index.php

This is Lazyfoo's tutorial which involves using the SDL library, I haven't made my own level editor yet so I can't give much in terms of first-hand advice. You're in the right place though.
"Time is an illusion. Lunchtime, doubly so."
http://www.thenerdnight.com
robotcraig
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 7
Joined: Tue Jun 09, 2009 9:11 am
Current Project: level editor
Favorite Gaming Platforms: dreamcast, sega, ps2, xbox360
Programming Language of Choice: c++
Location: luton (in england)

Re: making a level editor

Post by robotcraig »

thanks hurstshifter the site looks gr8 :)
User avatar
hurstshifter
ES Beta Backer
ES Beta Backer
Posts: 713
Joined: Mon Jun 08, 2009 8:33 pm
Favorite Gaming Platforms: SNES
Programming Language of Choice: C/++
Location: Boston, MA
Contact:

Re: making a level editor

Post by hurstshifter »

robotcraig wrote:thanks hurstshifter the site looks gr8 :)
If you arent familiar with another media library such as alegro than it would also be worthwhile going through his other tutorials on that site. Lots of great information that is easy to follow.
"Time is an illusion. Lunchtime, doubly so."
http://www.thenerdnight.com
robotcraig
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 7
Joined: Tue Jun 09, 2009 9:11 am
Current Project: level editor
Favorite Gaming Platforms: dreamcast, sega, ps2, xbox360
Programming Language of Choice: c++
Location: luton (in england)

Re: making a level editor

Post by robotcraig »

kool my level editor should b done soon now, soon as i learn SDL now and all the parts of c++

thankz for the help
User avatar
Pickzell
Chaos Rift Junior
Chaos Rift Junior
Posts: 233
Joined: Sat May 16, 2009 10:21 am

Re: making a level editor

Post by Pickzell »

http://moosader.com/tutfiles/Writing_2D_MapEditor.pdf

That's LusikkaMage's tutorial. It's very good.
I'm an altogether bad-natured Cupid.
robotcraig
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 7
Joined: Tue Jun 09, 2009 9:11 am
Current Project: level editor
Favorite Gaming Platforms: dreamcast, sega, ps2, xbox360
Programming Language of Choice: c++
Location: luton (in england)

Re: making a level editor

Post by robotcraig »

thankz pickzell
User avatar
MarauderIIC
Respected Programmer
Respected Programmer
Posts: 3406
Joined: Sat Jul 10, 2004 3:05 pm
Location: Maryland, USA

Re: making a level editor

Post by MarauderIIC »

Programming Discussion: Read Before Posting
http://elysianshadows.com/phpBB3/viewto ... 999#p22190

3) Think. I know this one is hard. But reread your post. If it doesn't make sense, retype it, reword it, or do whatever you did to (hopefully) pass 3rd grade english. We aren't going to spend excessive amounts of time debugging your english along with your code.

IE:
Hello!
I'm trying to make a level editor in C++ for a 2D game, but I don't know where to start on it. I do know C++ well, but I just don't know where to start on my level editor!

Any help would great! Thanks for reading this.

robotcraig
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
robotcraig
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 7
Joined: Tue Jun 09, 2009 9:11 am
Current Project: level editor
Favorite Gaming Platforms: dreamcast, sega, ps2, xbox360
Programming Language of Choice: c++
Location: luton (in england)

Re: making a level editor

Post by robotcraig »

sorry about how i wrote my post im dyslexia
User avatar
Moosader
Game Developer
Game Developer
Posts: 1081
Joined: Wed May 07, 2008 12:29 am
Current Project: Find out at: http://www.youtube.com/coderrach
Favorite Gaming Platforms: PC, NES, SNES, PS2, PS1, DS, PSP, X360, WII
Programming Language of Choice: C++
Location: Kansas City
Contact:

Re: making a level editor

Post by Moosader »

It also would have been useful to know initially if you had any experience with any libraries, or if you were used to making pure DOS-prompt style C++ programs.

If you've never used SDL or Allegro before, you have a ways to go before working on a map editor. You should check out my beginner's guide tutorial on beginning with Allegro or SDL: http://moosader.com/tut-gameprog-1.html
User avatar
MarauderIIC
Respected Programmer
Respected Programmer
Posts: 3406
Joined: Sat Jul 10, 2004 3:05 pm
Location: Maryland, USA

Re: making a level editor

Post by MarauderIIC »

Sorry for the curt post, but I try to prevent netspeak on the forums, where people have infinite time to write a post.
While dyslexia can affect capitalization and punctuation, "thankz" is probably no easier on you than "thanks".

Also, I recommend Moosader's advice =)
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
robotcraig
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 7
Joined: Tue Jun 09, 2009 9:11 am
Current Project: level editor
Favorite Gaming Platforms: dreamcast, sega, ps2, xbox360
Programming Language of Choice: c++
Location: luton (in england)

Re: making a level editor

Post by robotcraig »

thanks for all the help and next time when i make a write post i make sure everyone will be able to read it
Post Reply