When you decide your game needs to persist data (in other words, save data so that the game can use it later), then you need to store it in a file. It is up to you to determine how the data in the file is arranged, and how to name the file. Obviously it would be nice to not choose an extension that's already used by some other common program, but not really necessary since your game will be in its own directory.
No comments:
Post a Comment