game-dev

Open full view…

Kit++

jasonc7
Mon, 18 Aug 2014 00:57:00 GMT

Hi, I just bought the Paralaxer source code and saw its using Kit++. I wanted to use it for my project and I'm wondering how to get it into my project. Is there a download link anywhere? And if the solution is to copy it into your project I did that and its giving me a bunch of semantic errors. Thanks, Jason

jasonc7
Wed, 20 Aug 2014 01:35:22 GMT

The specific error is "Calling a protected constructor of class 'cocos2d::Animation'" in KITProfile.cpp This error is occuring on the line: Animation *animation = new Animation;

Nathanael Weiss
Wed, 20 Aug 2014 11:46:45 GMT

You'll either need to edit your `cocos/base/ccConfig.h` and set `CC_CONSTRUCTOR_ACCESS` to `public` or else change `new Animation` to `Animation::create`.