User Tag List

Results 1 to 6 of 6

Thread: Making your own hi score table

  1. #1
    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)

    Making your own hi score table

    I'm having trouble with the built in hi score object. Has anyone got any tutorials/info on how to make one from scratch?

    I want it to work on the IOS as well, but ini works fine on that so thats the best way for me to go.

    I'm sure i found some examples but spent a good amount of time looking last night with no joy!

    thanks in advance..

  2. #2
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleXNA Export Module
    ProdigyX's Avatar
    Join Date
    Jan 2011
    Posts
    1,197
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Simply put, you would have your data (like 500-John Doe,600-Jane) in some of format. This format would be up to you. For example commas might separate different scores, dashes the score from the name,etc. After you have your format, you would parse through the data. Then you would put each element into a string and boom high scores.

    For example take the following data table

    {
    300-Sam,200-RINGO,600-Flaps
    }

    The initial parse would get how many elements (high scores) there are. The delimiter (what differentiates each scores) would be the comma ','.

    So after the parse you would have the following 3 elements

    1. 300-Sam
    2. 200-RINGO
    3. 600-Flaps

    At this point you would sort the strings ascending or descending. (In this case I will descend)
    So now the "list" looks like this (keep in mind this is not an physical list)

    1. 600-FLAPS
    2. 300-Sam
    3. 200-RINGO

    At this point you would/could is loop through all of the elements. In this loop you would use another String Parser object and parse with your secondary parser; the '-' in this case. After the secondary parse you would get 2 elements for each line of the previous list.

    1. 600 2. FLAPS
    1. 300 2. Sam
    1. 200 2. RINGO

    At this point during the loop, just change the alterable string (the one that will be displayed) to the order that you want the elements to be in. For example you could have it be element 1 followed by element 2 or vice versa.

    If you wanted to have "TOP X" highscores, you would just do the loop a fixed amount of times.

    After all of that, boom you should have your hi-score table.

  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)
    I will give it a go=)

    Ideally, i wanted to perhaps make a onscreen keyboard as well. See, the problem i am having is that the high score object is causing my IOS app to crash on my iphone. Works on ipad! Very strange. This is the only solution i could really think off.

  4. #4
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module
    Sevennemesis's Avatar
    Join Date
    May 2012
    Location
    Québec
    Posts
    235
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I created this system to give more control, and that works with Android and IOS

    hello, download the file "*. MFA" below and see how to create your own system of "HI-SCORE". it is complicated to understand but more efficient than the original but also more opportunity and control.

    http://www.mediafire.com/?qtmalgjzjdxjt0v

    thx

  5. #5
    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)
    Thanks sevennemesis that looks quite interesting.. will investigate tommorrow =)

  6. #6
    Clicker Fusion 2.5Android Export ModuleHTML5 Export ModuleXNA Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Sep 2010
    Location
    EU
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Own system of HI-SCORE is very good but the function SHOW KEYBOARD
    does not work in Android 4.2.
    In the default object HI-SCORE, it is vice versa.

Similar Threads

  1. Clear Hi-Score Table
    By flyoffacliff in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 14th February 2013, 12:13 AM
  2. High score table
    By qenio in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 8th June 2012, 12:57 PM
  3. Wiping a high score table?
    By mobichan in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 26th April 2011, 05:55 PM
  4. Online score table
    By Nick in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 21st May 2008, 04:15 PM
  5. High Score Table Problem
    By im2famous4u in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 12th April 2008, 12:13 AM

Posting Permissions

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