Search code examples
cocos2d-xcocos2d-x-3.0

resources that work in iOS and Android


How can I setup my cocos2d-X v3 in a way that the resources folder work for iOS and Android at the same time?

I'm following this tutorial, but it seens its solutions didn't worked

I run this on proj.android, but Eclipse doesn't see Resources folder

ln -s ../Resources ./Resources

Solution

  • You need to create a soft symlink properly

    it's not

    ln -s ../Resources ./Resources

    but rather something like:

    ln -s <the path to what you want> <symlink Name>

    so for android:

    ln -s /Users/Jason/AppResources assets