Jump to content

  • Log In with Google      Sign In   
  • Create Account


High score list for java web game


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 Meanotaur   Members   -  Reputation: 116

Like
0Likes
Like

Posted 13 June 2013 - 03:50 AM

Hi!

I have made a java applet game and was thinking of adding a high score list to it. I was thinking what the proper way would be to do it. If my game was a regular java application I would simply use a XML file or a text file stored on the local file system. But, my game is on my website so I have to use a different approach. Would it be possible to store a text file in the JAR file which I could use to store high scores? Or should the file be stored in some file repository online? Would my game have permission to write to that file then?



Sponsor:

#2 minibutmany   Members   -  Reputation: 1530

Like
0Likes
Like

Posted 13 June 2013 - 09:56 AM

You can't change the files inside your JAR at runtime. 

This stack overflow thread may be of some use:

http://stackoverflow.com/questions/11567413/accessing-server-files-using-java-applet-on-same-server


Stay gold, Pony Boy.

#3 MarekKnows.com   Members   -  Reputation: 448

Like
-2Likes
Like

Posted 20 June 2013 - 02:07 PM

Have a look at scoreloop.com


---
Free C++, OpenGL, and Game Development Video Tutorials @
www.MarekKnows.com
Play my free games: Ghost Toast, Zing, Jewel Thief





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS