html5) canvas only -> Sprite -> blend mode help code ....-0-

help me T_T …

cocos2d html5 - canvas only T.T


screen.png (0.3 KB)


add.png (0.3 KB)


darken.png (0.3 KB)


multiply.png (0.3 KB)

Hi,

Could you please give us more information about your question?

I don’t understand what your question is.

Best regards
David

I think he wants to know how to make layers (or sprites?) to render applying an alpha blend with all others below it.

Like, instead of just setting alpha channel (opacity) you could also set a formula for making intersecting portions of images show in different ways (this is a common feature of layered image manipulation software like Photoshop).

For what I understand, this isn’t currently possible in Cocos2D, is it?