2D Toolkit Forum

2D Toolkit => Support => Topic started by: bacon on August 22, 2012, 03:22:40 am

Title: Slider
Post by: bacon on August 22, 2012, 03:22:40 am
How do you make a slider with 2D toolkit?
Title: Re: Slider
Post by: unikronsoftware on August 22, 2012, 06:55:28 am
No built in way to do this, but you can build one fairly easily - use the button class as a base to detect motion and make the button follow the finger/cursor - after that, all that remains is to constrain it to one or more axis.