Forums » C++ Framework » Import cocos2d library »
| Kent Simon | Import cocos2d library | ||||
|---|---|---|---|---|---|
|
Added by Kent Simon almost 2 years ago
Crap I have been at this for a while and I am totally lost, I can create an android project using cocos2d in eclipse but when I try and reference CCSpriteFrameCache, it can't be resolved. I'd really like to get on with using sprite sheets but this is really holding me up. Many Thanks. Kent |
||||
| Minggo Zhang | RE: Import cocos2d library | ||||
|
Added by Minggo Zhang almost 2 years ago
Oh, dou you use cocos2d-android-1 or other version that implemented by java? |
||||
| Zhe Wang | RE: Import cocos2d library | ||||
|
Added by Zhe Wang almost 2 years ago
@Kent Simon Enjoy Coding, Enjoy Life. |
||||
| Kent Simon | RE: Import cocos2d library | ||||
|
Added by Kent Simon almost 2 years ago
@Minggo I have tried both implementations, right now I am focused on cocos2d-x, I would have been happy with cocos2d-android-1 if it was current and CCSpriteFrameCache had addSpriteFramesWithFile implemented in it. @Walzer Wang Description Resource Path Location Type Thank you so much for your help. Kent |
||||
| Zhe Wang | RE: Import cocos2d library | ||||
|
Added by Zhe Wang almost 2 years ago
Kent, it seems that you are invoking CCDirector, CCSprite interfaces in your java code? Enjoy Coding, Enjoy Life. |
||||
| Kent Simon | RE: Import cocos2d library | ||||
|
Added by Kent Simon almost 2 years ago
Yes, well that answers my question, thanks. Is anyone working exclusively from within eclipse IDE using c++ to develop an android app? -Kent |
||||
| Zhe Wang | RE: Import cocos2d library | ||||
|
Added by Zhe Wang almost 2 years ago
@Kent, you can take a look at this document http://www.cocos2d-x.org/projects/cocos2d-x/wiki/Installation_guide_of_Android_ndk_r4b_development_environment#5-Integrate-NDK-development-in-Eclipse Enjoy Coding, Enjoy Life. |
(1-6/6)