Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top


This makes the flamingoes transparent on:

but not in cocos2d using:

sprite.blendFunc = (ccBlendFunc){GL_ONE, GL_ONE}

How can I achieve a similar effect in cocos2d?

Thank you.

share|improve this question
What does it actually do in cocos2d? – Nicol Bolas Feb 17 '12 at 7:11
up vote 0 down vote accepted

the sprite.blendFunc will be ignored if the sprite is part of spritesheet or atlas or whatever else has blendFunc

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.