libgdx - how to add background image in stage?
I am learning libgdx but i am stuck at a point.. I have added a button in my stage , now i want to add a image in the stage so that the image looks as the background image to the button.i mean to say that the button should lie on the image. I have been looking tutorials but not been able to do that. How can it be done? any help? The only thing you need to do is to draw the background, before drawing the Button s. There are a few possible ways to do that: - You can add the background as an Image (subclass of Actor ) to the Stage and use the z-index to make sure it is drawn as a background. -