User Tag List

Results 1 to 8 of 8

Thread: Hi Score Object In Android

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    Megabeard's Avatar
    Join Date
    Sep 2015
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Hi Score Object In Android

    Hey everyone,

    In my game, players accumulate a score in a level. At the end of a level, they're taken to a new frame where they can enter their high score. While testing on the computer, an input would come up asking me for my name if my score was high enough. But for some reason on Android this doesn't come up even when all the scores are empty. Is this normal? Or am I experiencing a glitch? If it's supposed to be like that, how would I go about allowing for players to submit their high score on Android? I couldn't quite find anything on this particular topic in the forums (Most were about online score tables), so my apologies if this has already been brought up or is obvious!

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,784
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    What version you are using and can you post a small mfa with the action event to test here?
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    Megabeard's Avatar
    Join Date
    Sep 2015
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am currently using the Developer version, Build R284.10. I also threw together an example file only to find that it works when in a simplified state. The frame from the example file displaying the high scores works on android. It's also exactly the same as the file I'm having issues with. This tells me there must be something up with the frame where my score is determined.

    My game is getting into the prototyping phases and I'd rather not post it on the forums. Would you mind if I sent it directly to you? I also attached the example file to give you an idea of how I did high scores.

    Thank you!
    Attached files Attached files

  4. #4
    Clicker Fusion 2.5Android Export Module
    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)
    amiman99's Avatar
    Join Date
    Dec 2015
    Posts
    242
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi, I'm using "Player 1 - Has a High Score" option and it works fine.
    hi-score-new.jpg

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    Megabeard's Avatar
    Join Date
    Sep 2015
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey animan99, unfortunately I'm still getting the same results on android when I try that. Works on my PC though. I'm almost certain there's something in the coding of my level causing this, I just can't figure out what would change when converting to android.

  6. #6
    Clicker Fusion 2.5Android Export Module
    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)
    amiman99's Avatar
    Join Date
    Dec 2015
    Posts
    242
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Works fine on my android devices. Android version 4.1 and 4.4.
    Maybe your device does not let you write to file?

    I compiled your example BUT I changed the API from 20 to 19 and Hi Score works on Android v4.4

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    Megabeard's Avatar
    Join Date
    Sep 2015
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Tried API 19 instead, but unfortunately the same results.

    EDIT: I figured out what the issue was! I was storing the score of the level in a global value, so at the end of the frame I set the score to 0, then using the global value, set the score in the "Hi score" frame. For some reason this seemed to confuse the Android version of the game, but worked fine on the PC version. It's a fairly easy workaround for me though.

    Thank you both for looking into this for me!

  8. #8
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,784
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    the problem in your second frame is that you use always to set hi-score


    you can not keep asking for update hi-score I think more appropriate here is start of frame or run this event once as condition to trigger this action.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

Similar Threads

  1. High Score Object and Android?
    By Keli in forum Android Export Module 2.5
    Replies: 9
    Last Post: 11th April 2015, 08:36 PM
  2. high score not saving on android
    By Harry))) in forum Android Export Module 2.5
    Replies: 3
    Last Post: 4th October 2014, 04:18 AM
  3. Easy online score on android
    By boeikaas in forum Android Export Module Version 2.0
    Replies: 25
    Last Post: 8th March 2014, 09:08 AM
  4. Score System for Android?
    By Crls in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 9th April 2013, 04:59 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
  •