Jump to content
  • Advertisement
Sign in to follow this  
MatthewDiaz

Saving Level Info

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

I am making a 2d platformer game in VS2010 c++ and directx 11. The terrain that makes up my levels is simillar to the original mario Bros. It's basically tiles but I have support for sprites of any size to be put in also that the player sprite can collide with. I currently have implemented in my editor to save the level's tile information as is during runtime. So all the buffers needed to draw each tile sprite is saved in a .bin file. When I load the file I don't have to load the resources. It hit me that the player won't be able to modify the level themselves by adding their own textures. Nonetheless this is not my overall concern. My real question is, generally speaking, is this bad practice?

Share this post


Link to post
Share on other sites
Advertisement
Nevermind I haven't touched that part of my code in so long that I forgot that I only save the file information needed for mapping these tiles from a texture atlas. I don't save the buffers for drawing. Nevermind.

Share this post


Link to post
Share on other sites
Sign in to follow this  

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