-
Notifications
You must be signed in to change notification settings - Fork 231
Progress bar helper class #1467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
HJfod
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much for this PR! Left a few comments & fix suggestions, but looking good overall :)
|
appreciate the feedback! i've made adjustments based on what you mentioned and asked for - lmk if anything else could use further tweaking :D |
|
sorry about all that, hopefully this fixes it! |
HJfod
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, don't have any major complaints, just some styling suggestions! Tyvm for this PR!
|
happy to contribute! hopefully i've made this as best as it could possibly be! |
HJfod
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
|
happy to contribute! |
Since the base game doesn't use a class to create its progress bar UI, I would like to propose a helper class that I wrote that can help developers easily re-create them without having to use and set up the sprites and set the texture rects themselves.
ProgressBarThis class creates a progress bar. It can mimic the style of the progress bar shown while playing a level, or the style of the Normal/Practice mode progress bars shown when looking at your current best progress in the level. It inherits
cocos2d::CCNode.Example
progresstest.mp4