Language: C#
IDE: Visual Studio 2013
Question: How do I set values to a trackbar in VS and then use these values as a variable for another process of my program.
Example: Game Difficulty - Player chooses difficulty on the track bar, then this integer value is then used as a speed variable for how fast a ball moves.
The tick frequency allows you to set a value for each of the ticks, so if your tick frequency starts at 10, then your first location would be 10, next 20 and so on.
To get this value from the trackbar
, you have to use 'nameOfTrackbar'.Value
.