aquinn's Forum Posts

  • Letterbox scale will work fine, but you will get black bars at the edges on 1136x640 devices. (assuming a landscape app)

    To avoid the black edges you need to use 'Scale Outer' or 'Scale Inner'. I would use a 960x640 window for the project, with Save Outer. Make sure the first event is 'Scroll To 568,320' so the window view centers on the layout.

    Make sure you have a background image of 1136x640, so the inactive part of the window shows something other than the black bars.

    You can't put any interactive content at the outer edges as they will get clipped on 940x640 devices. So from 0 to 88 pixels, and 1048 to 1136 are dead zones, but you can still use this space for some things, e.g. bullet objects coming from the screen edge. It means 1136x640 users may have a slight advantage as they can see things sooner than the 960 wide screen.

  • OK, I found a hack that works. It stops the iOS device going into standby, and shutting off audio. Not ideal, but it works.

    This is for Phonegap CLI with XCode, not for Phonegap Build.

    Edit Appdelegate.m in APP_FOLDER\platforms\ios\YOUR_APP_NAME\Classes\

    Add the line application.idleTimerDisabled = YES; in the location below. This stops the device from going to standby when the screen is not being touched.

    This is also useful for tilt based games where there is no screen contact.

    #pragma mark UIApplicationDelegate implementation
    
    /**
     * This is main kick off after the app inits, the views and Settings are setup here. (preferred - iOS4 and up)
     */
    [ul]
    	[li](BOOL)application:(UIApplication*)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions[/li]
    [/ul]{
        CGRect screenBounds = [[UIScreen mainScreen] bounds];
    	application.idleTimerDisabled = YES;[/code:iuhfr04t]
  • A play in background option would be great but I guess that will not be any time soon.

    Another approach I was thinking about was to prevent the device from sleeping, which seems to be possible with a phonegap plugin called Insomnia, https://build.phonegap.com/plugins/355

    Are there any other ways to prevent the device from sleeping? From memory cocoonjs did this by default on android, but I'm specifically targeting ios.

  • I'm trying to create a music player on iOS using Phonegap CLI, and Xcode.

    All is working fine, except a big problem is that audio is suspended when the the app is out of focus, or the phone enters standby.

    Does anyone know how to keep audio playing in the background like a regular audio player?

    I have added the 'Required background Modes' field for audio in the .plist file. Other non C2 phonegap users suggest this but it makes no difference.

    I have also tried added the Phonegap media plugin but it seems to make no difference.

    Any ideas? Please help!

  • So obvious! Thank you!

  • cranberrygame

    I'm trying to get Ejecta and Abmod interstitials to work.

    Where do I put the adUnitID? What's the correct syntax?

    Appreciate you help.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I'm surprised they allowed you to say "© .Gears Ketchapp". It's clearly a copyright infringement to claim their IP. Unless you work for both .GEARS and Ketchapp!!!

    Looks like you are using the Copyright field in iTunes Connect for ASO visibility, which is clever, but it crosses the line. If .GEARS or Ketchapp complain, they have every right to remove your app or worse, claim damages.

    Just saying...

  • Thanks for the comments and especially the review! It all helps with ASO.

    It's currently 30 levels, I've added 10 more and a Twitter share button on a release that's currently going through approval.

  • https://itunes.apple.com/gb/app/dot-dod ... 54980?mt=8

    Please check it out and leave a review. <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

    More levels on the way!

  • Er... you charge what you like on iOS as the publisher.

    Are you talking about revenue from IAds?

  • gamecorptm Thank you for clarifying.

    I have had problems with C2 IAPs on iOS using Cocoon, (requiring constant login requests) but I was going to try Ejecta next.

    So far I have found iOS the best for monetisation but IAPs obviously have huge potential.

    mollaq Did you get restore purchases working well also?

    Anyone else had success with IAPs and Ejecta?

  • I have the same questions. The only C2/Ejecta game I found with IAP is here: viewtopic.php?f=148&t=108333

    The game is 'Avoid the Block' on App store here: https://itunes.apple.com/us/app/doodle- ... d882729324 (looks like it was called Doodle and Dodge to start with)

    Looks like the dev gamecorptm got IAPs working with Ejecta.

    If anyone have any tips on getting IAPs working on specifically on IOS I would love to know. I've just about to get my head into exactly that...!

  • Nice game. What did you use to build it on ios? Ejecta?

  • Nice creative use of the shadow feature! Out of curiosity, what platform are you using for iOS?

  • Has anyone actually got an approved iOS game with IAP using either Ejecta or CocoonJS?

    I'm having trouble implementing IAP in CocoonJS, (iOS) - but the lack of support from Ludei makes me wonder if it can really really work.

    Ejecta looks promising - but the C2 Plugin does not have the IAP feature. (only Gamecenter and iAD).

    [edit ] Actually, it looks like the IAP plugin has the purchase features -rather than the Ejecta plugin. Has anyone published an iOS game with Ejecta and IAP functionality?