Question

I use box2d and want to add a few buttons on screen. I figured the easiest way to do this is to use scene2d for buttons. Is it possible to combine these two and if it is how to do it? I'm new to box2d and all the tutorials that i have looked at don't have any examples of this.

Was it helpful?

Solution

Sure, box2d does not depend on your scene representation. Just render your scene2d normally while keep calling world.step on each iteration.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top