A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Highscore Table

  1. #1
    Junior Member
    Join Date
    Oct 2004
    Posts
    5

    Highscore Table

    Hi, I want to make an offline highscore table to my game.
    How do I do that? Im not talking about the php tables, just a file stored on the computer that displays highscores. The score in the game is stored in the variable 'cash'.

    I want to make it so when the user press a button, it checks if the 'cash' variable is high enough, and stores it in a top-10 table. Also a button to see the highscores would be nice.

    Can anyone help a newbie out here?

  2. #2
    Registered User nunomira's Avatar
    Join Date
    May 2002
    Location
    portugal
    Posts
    7,003
    hi,

    If you want to do that offline, just using flash, maybe SharedObjects are the solution.

    A SharedObject is like a cookie, but in flash.

    Of course, only that specific computer would be able to access a specific SharedObject.

    Search macromedia.

    SharedObject Class.

  3. #3
    Junior Member
    Join Date
    Oct 2004
    Posts
    5
    Thanks, looks like its what im looking for. But since im a newbie and everything, could someone explain it to me?

  4. #4
    Junior Member
    Join Date
    Oct 2004
    Posts
    5
    bump.

  5. #5
    Registered User nunomira's Avatar
    Join Date
    May 2002
    Location
    portugal
    Posts
    7,003
    Don't take me wrong, but maybe you don't get more answers because you're asking for too much.

    You should elaborate more. What exactly you don't understand?

    Dealing with Shared Objects?
    Those links I provided should be a good starting point.
    Then you could search the forums and the web for more in case it's needed.
    Of course you should be familiar with same basic concepts of Objects and variables.

    What about the table?
    Using a component could save you a lot of time.
    But you need to know what a component is, a you should be able to populate it with the info you want: the scores.

    Just like when asking, when develping and learning you should take a step at a time.
    First, you do this. Then you do that. Now you can put these two steps together.

    When you post such questions, it looks like you're asking someone to create exactly what you want for you.
    Sometimes this is possible... maybe this time it's harder.

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