Examples: How To Draw On Textures In Cocos2D, Perform Motion Blur, Get/Set Individual Pixels And More
In the past I mentioned an excellent guide on the basics of using Cocos2D CCRenderTexture to mask images.
I came across another post demonstrating how to performsome interesting effects that can be performed using CCRenderTexture.
In the post you will see how to use CCRenderTexture to draw and sketch on a rendered texture using touch, how to perform motion blur using CCRenderTexture, information about a mutable texture class for Cocos2D that allows you to easily get/set individual pixels and more.
The post is by Stephen Itterheim, and you can find it here with an example project included.
Some very handy code snippets to have if you’re working with Cocos2D.
Submit A Resource
Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?
You can submit the url here.
The resources we feel will appeal to our readers the most will be posted on the front page.