iphone - Is there any way to find exact boundaries of an image in cocos2d instead of making a rect of that image? -


i want cut part of large image shape of small image. there way find exact shape of small image instead of making rect of image using boundingbox? please reply..

you masking bigger sprite smaller one.

here have great tutorial on that:

http://www.raywenderlich.com/4421/how-to-mask-a-sprite-with-cocos2d-1-0

and here tool use play blending functions

http://www.andersriggelsen.dk/glblendfunc.php


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -