This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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%
 
 
subject: Storing game settings
 
Similar Threads
Java Applet unable to use a PHP page to store a cookie
Deleting CAPTCHA GIF From IE Cache
Love the code barn! How 'bout some more?
XML vs Properties File
Minecraft: example of what can be accomplished in java game