Hi all,
I've only been using cocos2d for just over a week now, but I'm very impressed with it so far. Great community, and I haven't had to do too much surfing to find the answers to my problems so far. However, I've just run into my first dead end...
I am trying to work out how to implement a timer bar for a game I'm working on. The timer bar needs to be round-ended, and needs to float above the main game layer (ie, sprites can pass behind it). So I need to somehow create a mask to clip the timer bar sprite to this round-ended shape.
I have searched for solutions, but most seem to relate to rectangular progress bars. Also, I cant really afford too much in the way of framerate loss, as I have a fair amount of sprites running around.
Can anyone nudge me in the right direction? I would be eternally grateful ....
Cheers,
D.