September 2013
Beginner to intermediate
388 pages
8h 19m
English
Libgdx comes with a great feature set to easily create scene graphs. A scene graph is a hierarchically organized structure of objects similar to files and folders on a hard disk. In Libgdx, such objects are called actors. Actors can be nested to create logical groups. Grouping actors is a very useful feature, since modifications applied to a parent actor will also affect its child actors. Furthermore, each actor has its own local coordinate system, which makes it very easy to define relative offsets inside a group of actors including position, angle of rotation, and scale.
Scene2D supports hit detection of rotated and scaled actors. Libgdx's flexible event system allows handling and routing inputs ...
Read now
Unlock full access