Jump to content
  • Advertisement

Archived

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

OoMMMoO

General 2d game questions

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

For a game like Castlevania Symphony of the Night would you make it by using tiles? what about games that use pre rendered backgrounds like final fantasy 7? Also if I wanted to make a level editor how would I save the level and then use it in the game?

Share this post


Link to post
Share on other sites
Advertisement
i don''t exactly remember what platform symphony was on, but all of the 2D Castlevania games were done with tiles, i''m pretty sure. if not, then they surely looked tile-ish...

for a game like FF7, you could do that, but it would be basically useless because there is so much detail as to how the levels are structured that you''d have some hellacious bounds checking for each single tile. if you are looking into that path, there was another post on those message board about depth maps that you should check into. the info those guys presented was very good. it''s either in this forum or Graphics programming forum. you might have to check back a week or two, cause i dunno how far it''s been pushed back.

for the level editor, i''ve had much experience because i''ve written 3 2D tile map editors. I''m almost done with the 3rd, done in MFC, which i''m extremely proud of.... but anyway (;-), you''d have to make your own file format (which isn''t hard) and make the code scalar so you could use it in your editor and in the game. it should load the same in the map editor and in the game, so if you write the loader/saver functions to save in internal variables inside your class (or struct if you lean towards C) you should be fine. just write your saver function and reverse the fwrite functions to fread and Voila! it saves and load the same.

hope that helped...
dw

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!