Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to place a horizontal progress bar in my Android application and I want to change its progress color. I used the following code, but the progress bar is not being displayed.

CCProgressTimer progressBar = CCProgressTimer.progress("progressbar.png");
progressBar.setAnchorPoint(CGPoint.ccp(0, 0));
share|improve this question
are you sure it's not behind some other object? – Ali.S Nov 29 '11 at 21:27

You should add a CCProgressFromTo action into your progressBar, then show progressBar.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.