Is there a git of this somewhere that I can download? I’m also getting a slew of “does not have default constructor” messages on@ CCScrollLayer::CCScrollLayer() : m_pDelegate(NULL), m_pLayers(NULL), m_bStealingTouchInProgress(false), m_pScrollTouch(NULL), m_iState(kCCScrollLayerStateIdle)@

PWiggin
—
2013-06-13T01:49:41Z —
#7

Really am curious as to how others have gotten this code to work.

I had to add@ m_fMarginOffset(0), m_fPagesWidthOffset(0), m_fStartSwipe(true), m_fMinimumTouchLengthToChangePage(0),m_fMinimumTouchLengthToSlide(0)@(assuming those initial conditions are right)

And now I’m getting at least 11 errors. They appear to be mostly focused on:

1: Mixing float and cocos2d::CCFloat operands2: OpenGL issues with GL_POINT_SMOOTH and glColor4ub. Other GL functions appear to work fine.

Is there some clean code out there that works? If not, how do I fix the OpenGL issues?