How do I make a ProgressBar work in LibGDX?
问题 I'm trying to understand how to use a ProgressBar in LibGDX. I have created the bar but I don't know how to make it works. I want to duplicate the knob in order to fill the bar(background line) in 60 seconds. I know how to manage about the time, but there is no method in ProgressBar's class to fill the bar with the knob. At least, I haven't seen it (or I don't understand how, possibly). Here is my code: ProgressBar's code: skin = new Skin(); Pixmap pixmap = new Pixmap(10, 10, Format.RGBA8888)