Hi, I’m trying to use CCScrollLayer of the github and it is not up to date as I got a lot of errors like m_tContentsize undeclared and stuff like that…
What I did in my cocos2d finished game (as now I’m porting it to cocos2d-x), in my Select Level screen, I just create a CCLayer for each level, add them to the CCScrollLayer and then I have a good level selection menu
Is there any other way to do it??
Have anyone modified CCScrollLayer to work?
Thanks
EDIT
The errors are:
- Use of undeclared identifier m_tContentSize
- Use of undeclared identifier m_tPosition
I know those are (I had to do this in the .h file)
CCSize m_tContentSize;
CCPoint m_tPosition;
But how are they initialized?