julian heden
Thu, 04 Jun 2015 12:01:44 GMT
I am not sure if this tutorial is out-of-date, but so far I'm learning a lot as I am a beginner in cocos2d-x and fairly so in C++ also.
I'm wondering if anyone can help me, as the lines:
1.Sprite* someSprite = new Sprite;
2.someSprite->initWithSpriteFrameName("ninja-stopped0000.png");
gives me errors:
for 1: Error: "cocos2d::Sprite::Sprite()" is inaccessable
for 2: Error: "cocos2d::Sprite::initWithSpriteFrameName" is inaccessable
If someone is still in these comments, id appreciate any type of help