User Tag List

Results 1 to 5 of 5

Thread: In the event of a high score tie...

  1. #1
    Clicker Fusion 2.5 Developer
    supadave's Avatar
    Join Date
    Nov 2011
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    In the event of a high score tie...

    I can't seem to figure this one out.. I'm using the High Score object and my only problem is that in the event of tie score, the new score does not drop the old score down the list and take it's spot..

    for instance.. Hi score on the HS list is 1000 and belongs to "Joe"

    "Frank" Scores a 1000 as well, I want "Frank" to be the new number 1 and "Joe" then drops to number 2 on the list. I can't seem to find an option for this. By default it appears that "Frank" will only become the number 2 player and "Joe" remains as the number one. I need ties in the score to drop the old player down the list.. Is this possible?

  2. #2
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)
    You can make a custom high score table. You would have to code the sorting, but you can definitely check if a score is >= to an existing score. You might try looking at the List object, since I beleive it can sort its contents (although it might only be set up for strings). Otherwise, you can store scores as variables and sort them manually.

  3. #3
    Clicker Fusion 2.5 Developer
    supadave's Avatar
    Join Date
    Nov 2011
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    bummer, I was hoping to get an easier answer..

  4. #4
    Clicker Fusion 2.5 DeveloperiOS Export Module
    ChrisBurrows's Avatar
    Join Date
    May 2011
    Location
    Tasmania, Australia
    Posts
    622
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I wrote an example for sorting numbers using the bubble sort method.

    http://www.whenthereisnoroominhellth...bubblesort.zip

    Bubble sorting compares one line at a time to the line below it and swaps their places if the current line is lower than the one below it.

    To make it do as you want, you would have to add some sort of ID when a score is added and in the event of a tie, move the score with the newest (highest) ID to the top.

  5. #5
    Clicker Fusion 2.5 Developer
    supadave's Avatar
    Join Date
    Nov 2011
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Chris, I looked at your bubblesort.. I'm not an expert at this stuff by any means. I spent all day trying to sort out some type of method. Your Bubblesort is above my skill level at this point. I see how it works, but I don't know how to modify it for the event of a tie. Also, how would you sort and keep the names properly attached to the scores. I wish this was just a simple tick option in the HS object. As it stands it puts the scores below in the event of a tie which I don't really understand why. The problem is whoever gets a max score will never get bumped. I unfortunetly really need this to finish off my project. I tried to write my own HS table but I get tripped up by the sorting. If anyone can help with a sample code that would be wonderful. Thank you..

Similar Threads

  1. High Score bug perhaps?
    By ChrisStreet in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 24th April 2013, 02:02 PM
  2. High score
    By Jymswiss in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 5th April 2013, 05:00 PM
  3. High Score Help!!!!!
    By Mostafa in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 22nd January 2013, 10:30 PM
  4. High score?
    By KLiK-iT in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 2nd March 2012, 12:18 AM
  5. need help with a high score.
    By vincent in forum Multimedia Fusion 2 - Technical Support
    Replies: 13
    Last Post: 22nd July 2009, 07:45 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
  •