Draw number of life in the game by an image

Hi,

I want to draw number of life in my game by number of image
I’m using sprite but it can not be add more than 1.
What object should i need to do that, i searched on google it tell me CCSpriteFrame, but i do not know how to use it, i’m newbie.
Please help me and give me a sample.
Thanks for all your help

Did you means drawing line in cocos2d-x. or you want to learn how to use CCSpriteFrame?

Storm Spirit wrote:

Hi,
>
I want to draw number of life in my game by number of image
I’m using sprite but it can not be add more than 1.
What object should i need to do that, i searched on google it tell me CCSpriteFrame, but i do not know how to use it, i’m newbie.
Please help me and give me a sample.
Thanks for all your help