Code Bit: How to use JNI in Cocos2dx Android?

Thank you, Bojun for helping me understand all this 🙂 You can first read up the Cocos2dx documentation on this: http://www.cocos2d-x.org/projects/cocos2d-x/wiki/How_to_use_jni Basically JNI is this thing that allows you to call Java code from C++ and vice versa. I’m gonna post a very round about code that I think shows how to do it both ways. First off, in Java (my class name is sample.java), … Continue reading Code Bit: How to use JNI in Cocos2dx Android?

Thoughts while reading Cocos2d-X by Example Beginner’s Guide Chapters 1 & 2

Packt published a new book on Cocos2d-X, “Cocos2d-X by Example Beginner’s Guide” by Roger Engelbert (http://www.packtpub.com/cocos2d-x-by-example/book) First off, book cover is adorable. Second, the book’s spiel says no programming knowledge required, oh really now? Anyway, I know Cocos2d, but I don’t know Cocos2dx nor C++, the language for Cocos2dx, so here I go. If I can make some cookie cutter games at the end of … Continue reading Thoughts while reading Cocos2d-X by Example Beginner’s Guide Chapters 1 & 2