File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Storing game settings Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Storing game settings" Watch "Storing game settings" New topic
Author

Storing game settings

Ramzi Hajaj
Greenhorn

Joined: Aug 19, 2012
Posts: 13
Hey Guys


I'm creating a memory game and i'm trying to figure out the best way to store system settings so that the settings are saved after the program has been exited?


Has anyone got any ideas on this? Obviously there are some options that come to mind, e.g storing to file, storing in database,


Thanks for help
Nikhil Sagar
Ranch Hand

Joined: Apr 21, 2012
Posts: 216

Ramzi Hajaj wrote:Hey Guys


I'm creating a memory game and i'm trying to figure out the best way to store system settings so that the settings are saved after the program has been exited?


Has anyone got any ideas on this? Obviously there are some options that come to mind, e.g storing to file, storing in database,


Thanks for help


I think it is only depends on you or your game's need.
Settings have some password like sensitive information.
What is the average size of settings you want to save.
Do you want to override previous settings or want to append new settings to the previous one.
etc.
there can be more factors so, it totally depends on you.I think.


OCPJP 6 86%
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Storing game settings