Added a more complex sample using libgdx.