I am making an android game using libgdx where there are textures on the screen which represent people. When you touch a person sprite I want a little info bubble to pop above their head displaying some information about them in text form (something a bit like how speech is shown in a comic book). The sprites move and the info should follow above them until it is tapped closed.
I have got something working at the moment, which is really basic. I have rectangle that is part of the ShapeRenderer that is drawn, I then draw the text over the top using the batch draw.
I want the rectangle to have curved edges and resize depending on the size of the text but before I start writing something.
Does anyone have any suggestions on how I should go about it? Should I try and use dialog from scene2d and render my whole game using scene2d? From what I have seen it seems good for menus but I'm not sure about rendering a whole game using it.
Or is there something else?