Home > Development, Gary Gravity!, Uncategorized > Cocos2d 0.99.5 and iAds

Cocos2d 0.99.5 and iAds

Image

Learning how to integrate iAds into a Cocos2d project was suprisingly more difficult than I thought.  There was not a lot of online documentation out there on how to integrate iAds in the most recent version of Cocos2d.  A lot of the tutorials out there were for an older version of Cocos2d and quite honestly, I didn’t want to invest the time and effort to try to convert pre-99.5 code to post 99.5 code.

Below is a link that I found that pretty much tells you how to integrate iAds into Cocos2d 0.99.5.  I literally copied and paste this snippet of code into my own with just a few minor revisions.  The revisions I made were really just iAd positioning.  Everything else on the code, was left as-is.  You can find the link here:

http://www.cocos2d-iphone.org/forum/topic/12334

Many thanks to Gil from the Cocos2d for sharing this.

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: