Touching bugs my gameplay, swipe don't

hamarohamaro Member Posts: 31
edited June 2012 in Working with GS (Mac)
On a map, let's say i have about 10 buttons. All of same kind. Then there's one of them that randomly gives 1000 in game.score, when it just should give 1. Then when i just swipe through the map, there's no buttons that bugs at all.

What's happening?

I have a change attribute-pos self to mouse where touch occurs, to move the collider over buttons if user would like to touch direct and so he can't make a swipe by touching 2 locations.
After that i have a constrain attribute-pos self to mouse, so the collider follows finger from where the touch occured.

Comments

  • hamarohamaro Member Posts: 31
    Found out more, it's always the button that's closest to the right and top that bugs. They're all same actors so why could just 1 of them do this?
  • LeonardDeveloperLeonardDeveloper Member Posts: 4,630
    Has to be a problem with that connecting to your score attribute, Maybe try overlooking it
  • hamarohamaro Member Posts: 31
    Solved, was just i that had forgot a thing during early testing.
Sign In or Register to comment.