Results 1 to 6 of 6

Thread: Send Score?

  1. #1
    Join Date
    Aug 2006
    Posts
    79
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Send Score?

    I have some flash games, how do i go about making it send score and / give .. virtual points?

    I know i sound blunt, but i'm not that good at using flash.

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    send score to where? do you mean show the score?
    give points? ...? store points? related to a user? IP? just for that time in the game?

    Generally, you store the score in a variable then add a value (1?) to it each time something "good" happens.

    Please give more info...
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Agreed with djr there, there are many types of scores, in game, out of game, high scores, times played, etc.

    Just let us know what you want and we will get you on your way
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  4. #4
    Join Date
    Jun 2006
    Posts
    182
    Thanks
    0
    Thanked 14 Times in 14 Posts

    Default

    He probably wants to send the score to the server and store it there. It should be done with something like loadVariablesNum or other similar function.

  5. #5
    Join Date
    Aug 2006
    Posts
    79
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    a bit more clearer.

    I want a flash game to send the score to a virtual pet website(something like neopets)
    and then they would recieve 'points' depending on the score they get and the difficulty of the game.

  6. #6
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    You will need to set up a score table on the games, and use an XML crossbrowser allowance txt file.

    The other site will also need the XML file and a recepticle to read the scores. Not impossible by any means, but very difficult to get working correctly.

    It might be easier to have the scores also write to a txt file that is read by php and or MySQL from the other site, instead of trying to send it directly from the Flash files.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

Bookmarks

Posting Permissions

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