XCode


Create a cross platform game with Cocos2DX and C++

If you like to code in C++ and you are interested in building a cross platform game, there is a library out there you can use, it is called Cocos2DX. The cool thing about it is that “theoretically” you write the code once and it should work on any platform… In practice it gets a little complicated, but with a bit of stubbornness anything is possible. There is a big list of games already using it and I guess now one of the most famous is Hero Academy (which I am not sure why they have not released on Android), also Glu mobile seems to like using it. You will not be able to find huge amounts of tutorials online, and the official website is confusing at best, although there is one that is pretty… [Read more »]

cocos2dx_portrait

How to create your own ANE for iOS using Adobe Air

Adobe Air gives us the amazing opportunity to access the device capabilities using extensions, also named ANE (Adobe Native Extensions). Creating an ANE is pretty simple, although it requires a laborious process which is not always easy to remember. Adobe has some tutorials about it, but I find them a little confusing and not straight to the point. This is a step by step guide with the very basic knowledge to know to build a simple ANE for iOS. The ANE we will build doesn’t really have any use, it will simply return a String from iOS that says “Hello World!”. Although this is a kick start to create any other Native extension. Soon I will post some more examples to generate more complex behaviors. Tools First thing, you need a Mac,… [Read more »]

Adobe Air ANE