Constrain value between two points

FajlajpFajlajp Member Posts: 666
edited October 2013 in Working with GS (Mac)
I´m stuck with a thing in my game that starts to get really annoying.
Here is a picture of my slider(it´s not a volume slider)
photo 10_BETBAR_A_zps5e39fd70.png
The slider should be like in the game "governor of poker where you slide a little thing to determine how much you want to bet/raise
I´ve constrained it so it doesn´t go to far but I´ve the problem of constraining it to a value. I want the value to be between to values. We can call them moneyMax and moneyMin. But I can´t get it to constrain between does to vaule when I slide determine on how far the slider is to the right.
Hope this not was a bad explanation and I hope that you understand what I mean.
Please help me.

Comments

Sign In or Register to comment.