I want to control the speed of a ship with a vertical slider. I have the vertical slider but not sure how to get it to work with the speed part of the ship. 2 buttons control the speed. - = the - slows the ship down and the = makes it go faster.
For those of who like me who don’t know. This part: (new Rect(25, 25, 10, 500) more about the part at the end 500. That is the size of the bar. This part here: 10, 500), vSliderValue, 0.0F, 5.0F); more the part at the end 5.0F); that is the increments the bar value is. I really hope this helps some one else out. It took all night and the better half of this day to figure out that’s where I was having the problem. ^^ Take care all.