iOS


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

Air Android/iOS – Launch your App from the browser

Adobe Air gives you the opportunity on iOS and Android to create a personal URL that if called from a normal browser will launch your app instead. This is particularly useful if you are redirecting your users from your App to a website, and then you want them to return on your App after they have completed a particular operation. The cool part is that if you are listening for the INVOKE event on your App you can also catch some arguments that the website is sending back.

How to do it Lets say your personal URL is “awesomeapp“, every time you use that name instead of the usual “http” it will open your App. For example, if you write “http://www.google.com” in a browser, it will redirect to the… [Read more »]


Adobe Game Jam – San Francisco October 2012

Saturday 20 October 2012 I attended the Adobe Game Jam with a group of other people from my company.   It was the first of, I hope, a long series organized by Tom Krcha and Lee Brimelow at Adobe. We got the theme of the game 3 days before the event started, it was decided it to be “San Francisco“. We arrived there a little late since we had to fly from Los Angeles to San Francisco and our plane got delayed, at our arrival everyone was pretty much already there. Each team had to have a maximum size of 5 people, we were already 5 (3 programmers and 2 artists), so we started immediately to brainstorm about possible game ideas, we knew we didn’t have too much time, we… [Read more »]

Alacatraz Roller Escape

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

Build an App for iPhone or iPad with FlashDevelop

This guide contains the essential steps to build an App for iOS using FlashDevelop and Windows, I will not stop trying to explain what I am doing or why I am doing it, sometimes it gets so obscure that I don’t even know, just do it and it will work…. hopefully. Of course before you even start reading this make sure to pay the $99 fee to the Apple bloodsuckers to become an iOS developer. Let’s Start Install OpenSSL for Windows. Create a new project with FlashDevelop selecting AIR Mobile AS3 App Open CMD (Start, serach program cmd) and execute the following commands: cd C:\OpenSSL-Win32\bin (or wherever path you installed OpenSSL) set OPENSSL_CONF=c:\OpenSSL-Win32\bin\openssl.cfg set RANDFILE=.rnd openssl genrsa -passout pass:fd -out mykey.key 2048 openssl req -new -key mykey.key -out CertificateSigningRequest.certSigningRequest -subj “/emailAddress=yourAddress@example.com, CN=Your… [Read more »]

flaipa