100 cocos2d recipes to ease your life

Today I bought an amazing book about cocos2d.

Amazing? Yes. You may be wondering why.

Let me tell the reason: it has 100 recipes ready for use.

There is no need to reinvent the wheel in order to solve day-to-day problems.

Cocos2d for iPhone 1 Game Development Cookbook is available in both print and digital forms.

When I get it I’ll write a review.

How to solve keytool error unknown format type at

Today I was trying to get the MD5 fingerprint of my signing certificate (the one I use to sign my Android programs).

The command is pretty straight

Continue reading “How to solve keytool error unknown format type at”

Error generating ofuscated apk… again

Today I tried to generate an ofuscated apk file and got the error message

I’ve already written about this error here. The solution is exactly the same. It seems that when I requested SDK Manager to update my Android SDK it messed my proguard up.

JNI crash course tutorial – Part 1


JNI is a knowledge anyone developing games with cocos2d-x must have. As I don’t known it enough to feel comfortable with the theme so I started studying it myself.

During my learning process I like to take notes and share what I’m discovering. This post aims to be an introductory text on JNI. I will try to teach you the basics so you can understand how it works and how to integrate your own Java / native code (C/C++).

It is essential when developing games for Android using cocos2d-x.

There are 2 scenarios when it comes to JNI:

  • Java code calling native code (C/C++)
  • Native code (C/C++) calling Java code.

Continue reading “JNI crash course tutorial – Part 1”

My 2012 resolutions

2011 is gone. It was a great year for me. I made 2 games, I’ve learned a bit of AndEngine, cocos2d-x and in-app advertising among other things.

My blog started on April with 0 reader and it finished December with 5,676 visitors (3,894 been unique visitors) and 9,337 page views.

Thank you all that have helped me so far. I really appreciate that.

In 2012 I want to achieve the following goals:

  • write at least 5 applications.
  • write at least 12 tutorials in order to help other people (as I have tendinitis I can’t write as much as I wish but I will do my best).
  • reach at least 20,000 unique visitors per month.

As you can see my goals are not that hard to achieve (I prefer to let my expectation in a realistic level).

Happy coding to everyone.