David Flatley

iOS

Adobe Native Extension for iOS Game Center – Part 2

by on Feb.06, 2012, under Actual RIA info, Adobe AIR, Adobe Flex, Apple, Coolness, iOS, Mobile

In part one of this series, you created the Actionscript 3 library, Objective C static library and wrapped it all together in a beauteous Adobe Native Extension (ANE) for use in your Flash mobile app. By now, you’re able to connect to Apple’s Game Center, but you don’t know it yet. This post will will show you how to make use of your ANE to invoke the loginUser, showLeader, and showAchievements methods in your native library.

At this point, you should have created the BazingaANE.ane (or whatever you named yours) and you’re ready to use it in your app.

The full code is located here on Github.

(continue reading…)

5 Comments :, , , , , , , , , more...

Adobe Native Extension for iOS Game Center – Part 1

by on Feb.06, 2012, under Actual RIA info, Adobe AIR, Adobe Flex, Apple, Coolness, iOS, Mobile

With the advent of Adobe Native Extensions (ANE’s) Flash platform developers have been fully unleashed upon the mobile OS scene. Your Flash apps now have full access to all native features through ANEs. This two part series will get you ready to integrate your own Flash games with Apple’s Game Center so you can start concentrating on making your fortune.

For brevity, this post is only going to show you how to do three things with Game Center, authenticate the user, show leaderboards and show achievements. I noticed during my Google sessions, there are many other people looking for the same integration with Game Center ANEs for Flash mobile games, so this will show you the bridge to achieve that goal, and the rest of the implementation is up to you. By the end of this post, you’ll understand how to submit achievements or scores, etc, all the things we’re not doing in this post.

Because I can’t say this enough, I’ll post it in bold: IMPORTANT - You need a decent understanding of ANE creation in general and setting up apps with iOS Developer Portal and iTunes Connect for Game Center. Without those prerequisites, you won’t get much from this post.

Whatever, just show me the code!

Github code repository for the entire project.

(continue reading…)

2 Comments :, , , , , , , , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!