Outline Highlighting a sprite (silhouette)

Hello , energetic dude :slight_smile:

I need a Outline Highlighting a sprite that effects like silhouette.

many games support this fuction ex) facebook games castle ville sims, hidden cronicles and so on.

in my case, there are many game objects in my developing game.

so we don’t make many images for 1 on 1 silhouette.

i think i need reclying sprites. so i made same textured sprite and scale up more 1.0.

but i dont change sprite to white color.

CCSprite* outlineSpr = CCSprite::spriteWithTexture(getSpr~~>getTexture);
outlineSpr~~>setScale(1.03);
outlineSpr~~>setPosition.width/2,maksSpr~~>getContentSize().height/2));
outlineSpr~~>setOpacity;
outlineSpr~~>setColor(ccc3(255,255,255)); <— OMG :frowning:
// outlineSpr~~>setBlendFunc);
getSpr~~>addChild(outlineSpr,–1);

if I’ll fail this, how can i make this effect?