This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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%
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Storing game settings
 
Similar Threads
XML vs Properties File
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?
Minecraft: example of what can be accomplished in java game