Are you new at Cocos2D? This example initialize the background and stars an animation of a sprite when it is touch. It is based on the HelloWordExample. The code is commented.