Discussion on Flappy Game: iAd, Interstitial, GameCenter, Push

16 comments found.

how many levels does your game have? Do you plan to release an android version?

thanks!

Hi jonathanmiami, Space Debris has just one, never ending level. At the moment I’m not planning to develop an android version.

Is this Cocos2d or SpriteKit or plain UIKit or ???

It is curious how often we have to ask this same question :(

Hi, it was developed using the SpriteKit framework (Xcode, Objective C) :)

Fantastic…I have way too much Cocos2d stuff and want to become a SpriteKit expert…I’m going to be your First Purchase :)

Thank you very much ! :)

Before I buy, what software is needed to edit this code and images to reskin? Do I need a mac?

Hi, you need a Mac with Xcode 5 installed to edit the code and any graphics program to edit images.

universal app?

Hi, iPhone only

universal app?

Works iPad, iPod and iPhone?

Hi, iPhone (4, 4s, 5, 5c, 5s) and iPod

Any tips with getting this to run successfully with xcode 5.1?

Hi pphelan.

// Gameplay – obstacles positioning static const float kGapMultiplier = 2.0; static const float kBottomObstacleMinFraction = 0.1; static const float kBottomObstacleMaxFraction = 0.6;

what is the best way to create more space between objects if your astronaut is a different size?

i found it..never mind… great app!

What is the best way to add background music?

Hi !! Try this, in “MyScene.h” import AVFramework:
#import <AVFoundation/AVFoundation.h> and add this property : @property (nonatomic) AVAudioPlayer * backgroundMusicPlayer;

In “MyScene.m” at the end of “initWithSize”, before “return self;” (for example) add this :
NSError *error;
NSURL * backgroundMusic = [[NSBundle mainBundle] URLForResource:"ding" withExtension:“wav”];
self.backgroundMusicPlayer = [[AVAudioPlayer alloc] initWithContentsOfURL:backgroundMusic error:&error];
self.backgroundMusicPlayer.numberOfLoops = -1;
/> />

Hi placebo84,

Thanks for app but when I try to “Run” on Xcode I’m getting this error;

Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1

I’m learning Xcode btw. I searched on Google before write here but I couldn’t fix this. Could you please help me?

Thanks

Hi dotSinan, what version of Xcode are you using?

Hey man,

I’m sorry, I saw your reply to pphelan and I downloaded again. Now it’s working :)

Thank you so much!

Hi, I downloaded this game from the App Store. Looks fun :)

Hi Nathan2096, thanks :) The updated version of the app with the three levels, the button to see the rankings ( Game Center ), push notifications, Interstitial Ad, is currently in “review” on the App Store. I think in the next few days will be updated there as well.

;)

I have not changed your code, when I run code analysis – xcode showing errors:

/MyScene.m:186:11: Potential leak of an object stored into 'path'
/MyScene.m:173:29: Call to function 'CGPathCreateMutable' returns a Core Foundation object with a +1 retain count
/MyScene.m:186:11: Object leaked: object allocated and stored into 'path' is not referenced later in this execution path and has a retain count of +1
/MyScene.m:461:12: Potential leak of an object stored into 'path'
/MyScene.m:385:29: Call to function 'CGPathCreateMutable' returns a Core Foundation object with a +1 retain count
MyScene.m:461:12: Object leaked: object allocated and stored into 'path' is not referenced later in this execution path and has a retain count of +1
How can i fix it?

Step 1: Remove framework AdBuddiz
Step 2: delete import

#import <AdBuddiz/AdBuddiz.h>
from file Space Debris-Prefix.pch

Step 3: delete
[AdBuddiz showAd];
from MyScene.m (into method “switchToGameOver”).

Step 4: delete
    [AdBuddiz setPublisherKey:@"YOURPUBLISHERKEY"];
    [AdBuddiz cacheAds];
from AppDelegate.m (into applicationDidBecomeActive method).

:)

Thanx)

Morning, i bought the game, its awesome! need some help setting up the game center levels and achievements.

Hi CMaderaTM, send me a private message with more details. :)

ok will do

Hi, Parse notification is not working on my end. i changed the app id and nothing.

Sure whats your email?

Go to my “Profile” and send me an email from the form. ;)

Hi if i buy this can you reskin and add new logo to it? Contact on Skype if you wish to talk more – socialkrack

when I try to run it on simulator or any devices runnin fails and says “semantic issue – use of undeclared identifier ‘_delegate’

how could I solve it?

I Tyler, I’m working to fix this bug introduced with Xcode 7.1. Stay tuned. Thanks

I would be glad, waiting for your good news. thanks.

Still working for an update…

Hi TylerDeviGrey, your iAD publisher ID is your APP ID, when you create a new app inside itunesconnect It is also generated the ID for iAD.

it says “you’re connected to iad” but dont shows any ads. so is this okay? should I change any codes?

Yeah, it’s ok.
Once published will be enabled directly from Apple iAd , usually multiple views are made before you turnon .

by
by
by
by
by
by