Jump to content
  • Advertisement
Sign in to follow this  
Proudest

Game editor design decision - create project files at beginning or when saved?

This topic is 4708 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'm creating an editor for my game and have a design decision. The editor will be a lot like RPGMaker XP and have options to import image resources, like tilesets. Each game project will have a file hierarchy like this.
Editor.exe
-[Projects]
  -[Project1]
    -gamefile.game
    -[Tilesets]
      -tileset1.png
  -[Project2]
    -gamefile.game
    -[Tilesets]
      -tileset1.png

The decision I'm trying to make is whether I should: 1) Save tileset1.png to the hard drive when imported. 2) Keep tileset1.png in memory and only save to hard drive when project is saved. This applies to all game project data including the file/folder structure. RPGMaker XP creates the file/folder structure when a new project is first created, and copies the imported file to the game folder when imported. At first I was planning on doing this, but I noticed programs such as Visual Studio don't create any files on the hard drive when you create a project and add files such as images. It only saves the files once the user saves the project. The second method is more appealing and the only downside I could think of is it would use more memory. I'm wondering what you guys think is the best method and any unforseen problems or benefits.

Share this post


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

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