Advertisement Jump to content

Archived

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

Chrono999

Help with level editing

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

Advertisement
Im making a 2D platform game at the moment, similar to earthworm jim or Donkey Kong. It has a huge scrolling background consisting of two Surfaces that are 640x800 each.
Ive made it so when the level moves, the far background moves only slightly, resulting in a mario like effect.
Ill give u the source function if u want.

As for the actual level the sprites'' walk on, its comprised of two hundred 32x32 tiles (640x480), which when put together make up platforms and walls.
I have a built in level editor that edits the tiles on the fly (in-game), just click on a tile, and u can copy+paste, or increment/decrement its tile number, then hit F5 and it saves it to the lvl file. cool stuff.

I have the source code for a DOS based mario game someone made, if u want it.




( SikCiv@Hotmail.com )

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!