Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Brad

SideScroller Level Editor

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

Does anyone know of any links to tutorials that will show me how to make a level editor for a 2d side scrolling game?

thanks

Share this post


Link to post
Share on other sites
Advertisement
I don't know of any specific tutorials for making level editors, but you can find tutorials for other things such as dinput and ddraw that make up the level editor. I just used my basic game loop with some mouse input. Here are the steps I took:

1)Get mouse input from user

2)Get specific "slot", and then save the tile number to the slot in the map array.

3)Take into consideration the worldx and worldy.

4)Draw all the tiles on the screen from the map array.

5)Let the user save or load a map

I made the basic thing in about a day. It is not user friendly, but I'm the only one using it and am fine with it.

Share this post


Link to post
Share on other sites

  • 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!