User Tag List

Results 1 to 7 of 7

Thread: Online high score tutorial - add more score listings

  1. #1
    Clicker Fusion 2.5Android Export Module
    JRP's Avatar
    Join Date
    Apr 2014
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Online high score tutorial - add more score listings

    Regarding this online score tutorial http://community.clickteam.com/threads/87185-Online-High-Score-Tutorial<< this one. i managed to get it working today but i want to add at least 100 high scores and have it connected to the players score instead of just entering random numbers. How would i do this? any help much appreciated!

  2. #2
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,822
    Mentioned
    7 Post(s)
    Tagged
    2 Thread(s)
    You would need to learn how to script some PHP (not that hard) and adjust the scripts to do what you want.
    To make the scripts return all the scores by a specific name.
    This might also mean you want to have player accounts so each player has a password and an unique account so you can connect the data together.
    (getting complex but still do-able)

    On saving 100 scores.
    In Easy Scores Online tutorial open config.php in a editor like notepad.

    Change this line
    $score_number = '10';
    to
    $score_number = '100';

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module

    Join Date
    Jul 2006
    Location
    S.East England
    Posts
    744
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    JRP, I tried this a while ago and had some issues so I gave up. I too tried with 100 scores, but that meant having 300 strings (at least - ie name, score,date) on a frame. MMF2.5 kept crashing so I wouldn't advise it. I tried 50 scores (150 strings) and I think I still had issues with 2.5 crashing and the fact I couldn't figure out why my php wasn't working when it looked fine..

    So yeah i ended up just sticking with the 10.

  4. #4
    Clicker Fusion 2.5Android Export Module
    JRP's Avatar
    Join Date
    Apr 2014
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I still wanna try to do it tho but if it does not work guess ill settle for ten as well and maybe include a local score table as well...hmm but to add more score listings i change the script to "100" then what? do i have to edit the actual .mfa some how? what are strings? :P

    Also thx for the info jeff i dont wanna try to have players have there own account tho that sounds way too complex, i just dont like how u can enter any score u choose i wanna have the players score there instead so if you get a score of 200 when you die thats what gets put in lol thx for the help

  5. #5
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,822
    Mentioned
    7 Post(s)
    Tagged
    2 Thread(s)
    Well you have to edit your game to somehow display the scores.

    List boxes might be a decent choice for trying to display 200 scores or if you wanted to be tricky you could load them in groups into your display.
    Fusion can pretty much do anything you want in this regards -- Just developing the events to do it need to be done

    General process of what I am thinking:

    Download all the data from the server
    Put it into an array
    Load the data from slots 0 to 9 into the existing display
    Click next
    Load the next 10 items into the display
    Repeat until done

    Do able but would require some work to get it done.

  6. #6
    Clicker Fusion 2.5Android Export Module
    JRP's Avatar
    Join Date
    Apr 2014
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thx for the reply jeff that sounds like lots of work but i really wanna get this working, just to confirm i have attached a picture of the setup i have, so the player got a score of 1145 when he died, so to have the player enter that final score to the online table i should follow the method u said? also the score is just a simple game data score object.
    Images attachées Images attachées

  7. #7
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,822
    Mentioned
    7 Post(s)
    Tagged
    2 Thread(s)
    Well what I wrote above is for when the scores come back from the server.
    I am not sure what you are asking above but the score submission would be the same in all of it.

Similar Threads

  1. Online High Score Tutorial
    By Sparckman in forum Guides, Tutorials, Examples, Widgets
    Replies: 74
    Last Post: 23rd July 2019, 06:42 AM
  2. Online high score
    By Redsquirrel in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 10th October 2012, 05:21 PM
  3. high score online
    By fredooo in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 23rd January 2012, 08:25 PM
  4. Online High Score
    By drnebula in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 27th May 2009, 02:42 PM
  5. Online high-score tutorial
    By Jeff in forum News
    Replies: 0
    Last Post: 4th March 2007, 04:01 PM

Posting Permissions

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