Hayes2D's Recent Forum Activity

  • I'm wondering if there are any ad options for construct 2 that run in browser? Preferably full screen/video ads just like admob's interstitials.

    Thinking its going to be really handy to monetize games in the scirra arcade.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • come one, somebody has to have released a tidy android app haha

    Driving myself a little crazy trying to figure this out.

    This is roughly what I've tried so far. Every test has brought up the same issue on android. Black screen > splash screen > black screen > game. I'm looking for splash screen > game. Or at least Black screen > splash screen > game. Managed it on iOS really easy, just no luck in the intel XDK > android crosswalk.

    1. Added splash screens to the project in www>Splash Screens and named them after their sizes

    2. in intel > project settings I added the splash screens,

    3. Added the SplashScreen plugin in settings (standard cordova plugins)

    4. Adding "<preference name="SplashScreen" value="foo" />

    <preference name="SplashScreenDelay" value="10000" />

    <preference name="SplashMaintainAspectRatio" value="true|false" />" to the bottom of config .xml

    5. added "<preference name="AutoHideSplashScreen" value="false" /> to config"

    6. added "document.addEventListener("deviceready", onDeviceReady, false);

    function onDeviceReady() {

    setTimeout(function() {

    navigator.splashscreen.hide();

    }, 2000);

    }" to index.html.

    7. changing the previous code to "document.addEventListener("deviceready", onDeviceReady, false);

    function onDeviceReady() {

    setTimeout(function() {

    navigator.splashscreen.show();

    }, 0);

    }" This actually made it work properly in the emulator but not on the phone.

  • Still struggling with this issue. Anybody able to help?

  • Sorry, you've misunderstood the question. It's regarding the splash screen when exported to crosswalk android in the Intel XDK. The same problem occurs when I built it for iOS but as you can see that one was much easier to fix. Or at least the code made more sense: https://itunes.apple.com/gb/app/gate/id960357237?mt=8

  • Anybody dealt with this one before?

  • Almost everything is finished for my android port of GATE, literally just need to fix an issue where the splash screen pops up then disappears before the game launches. I've got the splash screen plugin checked in the Intel XDK just not sure where to go from there.

  • Jailson Not tested without a mac before so I can't really help you with that process and its limitations.

    The main thing that I can think is that you need to turn sandbox mode on. On your iOS device go to settings > game center. Scroll to the bottom and it should have an option to turn sandbox mode on. If the option isn't there then you will have to plug your device into a mac and boot up xcode. Sadly right now, I don't think there's another way. I remember reading a while ago that it was a big problem for testflight and the sandbox option won't ever appear.

    It might still be worth giving it a bit of a google though, see if there's another method of turning sandbox mode on.

  • Jailson Testing can be done straight from xcode. Just plug your device in and hit build. Alternatively, set your target as one of the simulators if you don't have a device to test on. There's no need to archive till everything is ready, or you want to beta test to allot of people.

  • > Obviously you'll have to install the plugin into the folder, for that just type "cordova plugin add (plugin directory)".

    >

    Hey, it seems I am missing something. Which cordova plugin you are talking about? Game Center? Where can I find it?

    com.cranberrygame.phonegap.plugin.game is the plugin that construct 2 uses, but still needs to be installed via the terminal.

    https://github.com/cranberrygame/com.cr ... lugin.game

    I should probably note that I used the mac terminal method with cordova for iOS instead of the intel XDK, so if that's what your using then I don't really have a clue.

  • I've managed to get game services to work with someones help myself. But it's a long and arduous process with a lot of steps...

    Maybe one day I'll try to gather everything I've learned and make a nice, easy to follow tutorial.

    But for now just private message me with exactly what you've done so far and where you are stuck and I'll try to help and guide you through it.

    Fantastic, glad its at least possible! I'm just writing a PM with all the details. Thanks!

    I am also having a hard time to make Google Play Game Services and Game Center to work with native and cranberry plugins. I've tried all tutorials but things simply don't work. Any help would be appreciated!

    Google play is yet to be tackled, but Game Center was from what I can remember,straight forward. The built in game center expressions work just fine on the construct side. Then just export with cordova. Wack the cordova files into the www folder then build for iOS. Obviously you'll have to install the plugin into the folder, for that just type "cordova plugin add (plugin directory)". Also, make sure you have sandbox enabled on your testing device via: settings > game center. Alternatively just try in the xcode simulator.

    If you need some more info on game center, just PM me where your up to and I'll see what I can do.

    Thanks for all the help!

  • Hi,

    I've published my game GATE: https://itunes.apple.com/gb/app/gate/id960357237?mt=8 on iOS, and for the past week I've been working on porting it to android using the intel XDK and crosswalk android.

    I'm having some trouble getting game services to work wondered if anybody has had any luck using the intel XDK themselves? If so what process did you use?

    Thanks for any help and advice.

    Rob

  • Export as Cordova

    Then turn into APK with Intel XDK

    https://www.scirra.com/tutorials/809/ho ... -crosswalk

    Intel has two options for Android, Android and Android Crosswalk, you'll need to use Android Crosswalk

    To add admob you'll need to add the plugin

    https://www.scirra.com/manual/184/admob

    It is straight forward to update APK, you just need to increase the 2 versions in the export settings.

    I can't confirm the leaderboards, check the plugins while your adding admob or maybe it is ready by default...

    Thanks! Pretty sure its working now. Just need to borrow my dads android so I can test it native.

Hayes2D's avatar

Hayes2D

Member since 16 Jan, 2015

None one is following Hayes2D yet!

Connect with Hayes2D

Trophy Case

  • 9-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

12/44
How to earn trophies