Tuesday, March 05, 2013

Bunch of Weird Lines on your TMX File in Cocos2dx?

Try setting CC_FIX_ARTIFACTS_BY_STRECHING_TEXEL (in ccConfig.h) to a value of 1

Having trouble with loading files from 'assets' folder in Android, but it works in win32? Try the suggestions in this StackOverflow but also, check the case of the filenames.

http://stackoverflow.com/questions/12417748/cocos2dx-android-get-data-from-fileassets-failed

Random Bada Tutorial with some good code:

http://developer.bada.com/documentation/docView.do?docID=D000002309&&searchCategoryID=&searchTag=&searchDisplayDate=&currentPage=1&menu=MC01320300&pageCount=10&orderField=DISP_DD_TXT_DESC&searchPubYNFlag=Y

Errors with SimpleAudioEngine? Make sure you include the headers :)

http://stackoverflow.com/questions/12875426/simpleaudioengine-has-not-been-declared-error-when-trying-to-enable-music-paus

Using 2.0? They have moved sharedDispatcher

http://stackoverflow.com/questions/11264191/cocos2d-x-cctouchdispatcher-no-shareddispatcher

Use this:
CCDirector::sharedDirector()->getTouchDispatcher();

Not that:
CCTouchDispatcher::sharedDispatcher()->getTouchDispatcher();



Fixing Compile Issues with Visual Studio Project (.csproj) calling CCEGLView::create?

1. Open Property of Project.
2. Change the item value of "Character Set" to "Use Multi-Byte Character Set".
3. Rebuild your project.

No comments: