Friday, March 15, 2013

Reading and Writing Files in C++ and Cocos2Dx

How to write a simple text file with Cocos2dx
http://www.cocos2d-x.org/boards/6/topics/10822

Someone tries to load XML file in Cocos2dx (and gets very close!)
http://www.cocos2d-x.org/boards/6/topics/882

Biggest Struggle for Cocos2dx file loading ... is Android. Look out for this issue
http://stackoverflow.com/questions/8220527/android-reading-a-text-file-from-assets-seems-to-include-a-lot-of-junk-before

There are many ways to copy one file to another file in C++
http://stackoverflow.com/questions/10195343/copy-a-file-in-an-sane-safe-and-efficient-way

Debugging bonus link:
http://www.cocos2d-x.org/boards/6/topics/12601

If you get all of the above working, soon you'll want to add IAP
http://www.cocos2d-x.org/boards/6/topics/20664

Here is a good link that shows syntax differences between Cocos2d and Cocos2dx
http://www.rengelbert.com/tutorial.php?id=190

No comments: