Scrolling Issue

FallacyStudiosFallacyStudios Member Posts: 970
edited May 2012 in Working with GS (Mac)
I can't believe I'm stumped on something so simple, but from every look in the code it should be working but it is not. I'm trying to make a simple scrolling menu. I have an Attribute called Spinner Number. Each button's location and size is based off of it. I tested that part individually to make sure it works with a simple button touch to increase the number and it works fine. I want it to work by swipe so thats how I proceeded to code it. I have another attribute called Touch Y Down which works when I touch down on the background actor it saves it. I have it displaying that attribute in another actor to make sure it works.

The next part I have tried two ways. I've done it by Touch Y location and by a saved Attribute when it is released. Both were displayed so I could make sure that it was processing them properly and it was.

The next part (which was written two different ways for the above Touch Y locations and the Touch Y Released attribute I made) was like such... game.Touch Y Release > game.Touch Y Down+50. This is supposed to trigger another rule (for each number) that goes like such... IF game.Spinner Number = 0 THEN CHANGE ATTRIBUTE: game.Spinner Number TO 4.

From all the attributes that I have displayed in text so I can make sure everything is processing correctly it should work. If you would like to take a look at the file I can shoot it over to you. I must have missed something minute that is screwing up the whole thing, but I just can't seem to find it.

Thanks
Sign In or Register to comment.