cocos2d-iphone-extensions
cocos2d-iphone-extensions copied to clipboard
CCMenuAdvanced inertial scrolling
While scrolling if you move your finger and than just release your finger of the menu if should scroll a bit more - smooth scrolling
Like a UITableView
You mean inertial scrolling? Well ok. Probably somebody who will add this to CCMenuAdvanced would like also to implement soultion for #50.
Nice suggestion, thanks! Added Labels: Enhancement
Yes inertial scrolling...
Moving this to 0.2 - got code from Jamorn http://www.cocos2d-iphone.org/forum/topic/14095#post-110861
Also - some code for #50 / #51 http://www.cocos2d-iphone.org/forum/topic/19884 @cocos2dbeginner it's becomes more difficult for me to monitor extensions subforum, so if you can - please, mention in issues (or even open new) if you find some code for them on the forum.
Thanks!
Inertial scrolling was implemented by Jamorn Horathai in his CCSuperMenuAdvanced.
Here's a tree when you can find it: https://github.com/cocos2d/cocos2d-iphone-extensions/tree/CCMenuAdvanced-nonMenuItemChildren-and-inertialScrolling
I didn't tested it yet - just get code from Jamorn and tried to break it in few commits to get what's happening there.
Reverted changes back. Inertial scrolling doesn't work in horizontal mode & is laggish. Probably some additional calculations for velocity is needed during moving finger.
Moving this issue futher from 0.2 milestone.
Removed branch with Jamorn's code. Removing tag "own feature branch". There's no currently "ready" or even "in progress" code to solve this issue.