Using constrain for a complex shop bar

GuaveMediaGuaveMedia Member, PRO Posts: 1,262
edited November 2012 in Working with GS (Mac)
Hey guys,

I am stucked right now at a shop for a game. The game uses a bar to scroll down, when you move the bar down,
the items in shop should move up and ones from the bottoms should come up, I think the system is clear.
Basically on one scene, 3 items fit. I have 9 in total. The bar position is constrained to an integer going from min 30 to max 130. I am trying to come up with a exponential formula that works. Because when the bar for example moves down 1/3 of it's way, the items on first page have to be gone, so +1024 (I am using iPad). Is there someone who could help me?

Thx for the help!
Alex

Comments

Sign In or Register to comment.