Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

GL_ONE, GL_ONE

This makes the flamingoes transparent on:

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

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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.