Simple button not working

I have a button which literally reads, if pressed, go to next scene. This works perfectly on my computer when I test it, however I've noticed on all of the android phones, this button does not work and I can't understand why, please help.

Thanks!!

Comments

  • HopscotchHopscotch Member, PRO Posts: 2,782

    @Faaris, your code looks fine.

    By "does not work" I am assuming that it does not change the scene.

    So you are sure there is a next scene to go to?
    Also, have you tried setting the "Change Scene" behavior to a specific scene, instead of just "next"?

    You can add a display text in the rule to check if the rule actually executes.

    You need to try and isolate the problem. Then, if it is not a code problem on your side, you can post a specific bug with GS.

  • FaarisFaaris Member, PRO Posts: 66

    @Hopscotch yes, by does not work, I mean it doesn't go to the next scene. At one point, this button worked every time, but now, without any change to the code, it stopped working, I believe I have tried changing the "change scene" behavior to something more specific but I can try again. The other thing is, when you first open the app on android,the button doesn't work, but if you go home and come back instantly, it works. Is this a glitch with GameSalad? Android?

    Thanks

  • FaarisFaaris Member, PRO Posts: 66

    Here is the app if anybody wants to see what I mean, the "tap to play" does not work as you can see: https://play.google.com/store/apps/details?id=com.AcousticGames.dodgetheblocks

  • HopscotchHopscotch Member, PRO Posts: 2,782

    @Faaris said:
    The other thing is, when you first open the app on android,the button doesn't work, but if you go home and come back instantly, it works. Is this a glitch with GameSalad? Android?

    Hard to say, my first bet would be a code problem. The video does not help much, since we already believe you that the button does not work as it should. :)

    If you want you can PM me to look at your code for anything obvious.

  • FaarisFaaris Member, PRO Posts: 66

    @Hopscotch ok so I found out it was because of the custom loading image, as soon as I removed that, it worked again. Why is that? How can I have the button AND custom loading image both working properly? And this is only a problem with android phones, not tablets, is the image too big?

  • HopscotchHopscotch Member, PRO Posts: 2,782

    @Faaris, I don't see anyone else chiming in with a similar problem. I have also not encountered it. Therefore it is probably something specific to your code. The "why" I cannot answer unless someone looks at your code.

  • GnarlyGnarly canadaMember Posts: 840

    I actually had this happen today. Simple play button to change scene. Didn't work.
    I just used an invisible actor on top with the peressed then change scene. Worked. So I didn't spend a lot of time to see why........

  • HopscotchHopscotch Member, PRO Posts: 2,782

    @gattoman, was this on your first scene?

  • GnarlyGnarly canadaMember Posts: 840

    @Hopscotch said:
    gattoman, was this on your first scene?

    It was the first scene.

Sign In or Register to comment.