Have a look at Panels in the Manual, or also in the actualy AUM is a Workshop about 2D Games.