Retry Button

Ok, so I have a retry button in my game, and the code simply says that when pressed, go to the game scene and set the score to 0. This works perfectly when I preview it in GameSalad, however, when I publish it to Android, devices, the button stops working on them. All of my other buttons work, but this one will work 1 in 10 times. Does anybody know why this happens? And how to fix this?

Thanks!!

Answers

  • vafurlogivafurlogi Member Posts: 203

    This is a huge problem with GameSalad and Android. Things that work in the creator and on IOS sometimes won't work on Android causing games to break. Sometimes it's enough to drag that actor lower in the layer it's on (so it's checked sooner) but often times you have to rethink the whole thing. It can drive you crazy.

  • FaarisFaaris Member, PRO Posts: 66

    So should I bring it to the front?

  • MoogusMoogus Member, PRO Posts: 77

    Any main buttons I always put on top...

    It could be a logic thing.. I had similar problem on my latest release it came down to attributes not being saved and loaded correctly.

    Check you saving attributes and loading correctly.

Sign In or Register to comment.