Learn how to create dynamic textures similar to the hills in Tiny Wings using CCRenderTexture in this Cocos2D 2.X Tutorial.
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/2724-how-to-create-dynamic-textures-with-ccrendertexture-in-cocos2d-2-x