User Tag List

Results 1 to 5 of 5

Thread: Highscore glitch, please help me fix it asap

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    SoftWarewolf's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    941
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Exclamation Highscore glitch, please help me fix it asap

    I got a new update ready, and would really like to have it on the appstore before the holiday shutdown.
    The only problem is, in addition to using gamecenter highscore, it has a local hiscore with the standard highscore object.
    And all the lines are displayed on top of each other in one line, making it a unreadable mess.

    i am trying to look at the code in CRunkhisc.m
    Code:
     
    // draw names
    		for (int a = 0; a < NbScores; a++)
    		{
    			[textSurface manualDrawText:names[a] withFlags:DT_VALIGN|DT_TOP andRect:rc andColor:colorref andFont:[CFont createFromFontInfo:Logfont]];
    			rc.top += ho->hoImgHeight / NbScores;
    			rc.bottom += ho->hoImgHeight / NbScores;
    		}
    is there anything i can do here to fix the problem? you may assume that i can find the pixel size of each line etc.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    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)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    SoftWarewolf - Sorry to have to tell you, but even if you submitted your app to Apple today, they usually take 7 days or more, so you won't get it into the App Store before the shutdown on the 21st Dec.
    As for your High Score problem:
    Which version of the iOS Exporter are you using, eg Beta 256-7
    Which version of XCode are you running? eg 4.4
    Are you testing on device or the simulator (or does it happen in MMF2 on your PC?)

    Perhaps you could help ClickTeam figure it out by sending them an .mfa file, or if you have a simple example you can upload to the forums?
    Does it happen if you make a new app with a HighScore object?

    I'm not familiar with the High Score object myself, but the above is general advice for any buggy behaviour.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    SoftWarewolf's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    941
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Yeah, that might be right.. anyway, i got it submitted now and waiting for review.
    What i did was just create a custom score display (10 string objects set to the name and score from the highscore object).
    I am using the latest version of everything, just downloaded new xcode yesterday (sdk 6.1 i think) and the 256-7 ios beta plus 256 release candidate version of mmf.

    At least the game works perfectly fullscreen display on all devices thanks to "fit inside and adjust window"
    the online highscore doesn't seem to display the score i submit, but i am hoping that is just a sandbox issue and will work on the release version. "score has been sent succesfully" event triggers on the game center leaderboard object on my ipod.

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Jul 2006
    Location
    Germany
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Also thought about this workaround. Do you know Newline$? It makes a carriage return, allowing multiple lines in a single string

  5. #5
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)
    You can fix the hiscore text drawing bug until the next beta doing this:

    Go to line 251 in /Services/CServices.m
    Change the line
    int y = 0;
    into:
    int y = rc.top;

Similar Threads

  1. please help asap
    By Mostafa in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 15th December 2012, 04:13 PM
  2. need help asap please Chocobreak tutorial help eas
    By widowmkr in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 28th February 2009, 04:25 PM
  3. string parser bug - need your help asap! plz
    By haim in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 23rd December 2008, 02:31 PM
  4. MooClick BUG - Need help ASAP :D
    By Dynamite in forum File Archive
    Replies: 7
    Last Post: 23rd December 2007, 01:04 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
  •