A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: High score trouble

  1. #1
    Big Boi
    Join Date
    Jul 2001
    Location
    Rijeka, Croatia
    Posts
    612

    High score trouble

    I have problem with HS in my game, i use PHP script to save it to a txt file on a server, but problem is that it seems that SWF loads scores from my disk (from IE cache). I used that trick with adding Math.random number to loaded file but it still looks that it loads it from disk, can anyone know what it the problem?? can someone direct me to some HScore tutorial?

  2. #2
    Big Boi
    Join Date
    Jul 2001
    Location
    Rijeka, Croatia
    Posts
    612
    Can this be a problem?
    i have my swf in root and my HScore storage file in a /SCORE directory, do both of this files have to be in the same directory?

  3. #3
    Senior Member tonypa's Avatar
    Join Date
    Jul 2001
    Location
    Estonia
    Posts
    8,227
    Dont know much about PHP.
    I have used kaptain korys scorekeeper for long time, both PHP and cgi scripts work fine. And they are heavily commented too

    Or try this thread:
    http://www.flashkit.com/board/showth...hreadid=427927

  4. #4
    Flash Developer on a break
    Join Date
    Jun 2001
    Location
    The Netherlands
    Posts
    1,370
    You could use my Highscore tutorial. But it uses PHP and a MySQL database, not a saved file.

    It tells some small stuff about chaching as well. I hope it will help.

    | "Keep Flashing!"-Jeroen
    PHP multiplayer? Check this thread: PHPgateway

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center