merge two .png files into one (sprite)

merge two .png files into one (sprite)
0.0 0


Hi to everybody.
I need some help to create cool score sprites.

So - I have 10 .png files with numbers from 0 to 9. I want to create my score sprites based on this numbers. So , for example, score is 153 - so I need to merge 1.png and 5.png and 3.png.
Is it possible to do somehow with cocos2dx???
Or can I use some c++ library (Will it work on all platforms) ?


Use CCSprite and put it together one by one, get more efficent by CCSpriteFrameCache and CCSprite::spriteWithSpriteFrameName


header file is here


thanks a lot! Have made something in this scope!