libgdx/libgdx — pull request #2011 by nooone (2014-06-21 23:06:06+00:00)
Title: Added a Scene2DDebugRenderer

A lot of times I see newbies implementing custom Actors and making mistakes like not setting any size, or setting a position but rendering a (for example) button texture to some different coordinates.

I found myself in need for something like this as well when I was implementing an "overlay input layer" for box2d bodies for example. This "layer" was completely invisible, but it would be nice to be able to easily enable some kind of outlines for the actors to see where the touch areas would be.

Do you think it is useful? Any suggestions for additional features/changes?