Bootfit's Forum Posts

  • A signed APK - is this when you create a signing key? I created one of those and use it when I’m building in Phonegap and it creates a release.apk - is this what you mean?

  • If I select Publish in Game Services will this make the game live? I don't want it live yet as I'm still testing.

  • Are all those sizes really necessary? If so, lets ask them to add them in for us (don't like having to edit config.xml for each export)

    Yup. They’re all the iOS and Android icon sizes across most if not all different resolution devices.

    When first using Construct and using just the original icon sizes in the config.xml I wasn’t getting an icon appearing on my iPhone 6s+ and only a low-red icon on my iPad - now using the new sizes I get crisp clean icons across all my devices.

  • This set up seems to work fine for iOS but the Android version doesn't display the leaderboard (so I'm not sure if it's even posting to it). Is there some setting within the Google Play console that has to be set to activate the leaderboard?

  • 1 possible problem I see with your set up (because you don't want to auto-sign them in at start of layout), is that you are sending the highscore AND displaying the leaderboard at the same time, which could mean the latest highscore you are sending won't show up in the leaderboard .... maybe.

    Yep this happens - it always shows the last highscore until you go out of the leaderboard then back in where the new highscore is then displayed. I don't know how to get around that though.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Right OK - think I've got it now.

    How's this?

  • I've added the is signed in as a sub event to the Android version here:

    But I can't seem to add the on auth successful as a sub-event to the iOS version:

    Any idea how to implement the iOS version?

  • Well one thing I don't want to do is log the user in or request a sign in unless they specifically press the leaderboard button.

    So I need a process where the authentication/sign in and upload score and display leaderboard is handled with a single button press.

  • OK - so I put in the App and Client IDs in the Google Play plugin.

    My code to sign in and upload the highscore to the leaderboard looks like this:

    This signs in to the Google Play service - but then doesn't (seem to) do anything else - ie it doesn't display the leaderboard on my phone. I thought Sign up > Submit > Display would work fine here. What am I missing?

  • OK - linked the app.

    Have been given several long strings - perhaps signing keys etc?

    Where do I put these? Somewhere in my app, then re-export?

  • OK - I've added the apk to Internal Test - what now?

  • The only place I seem to be able to upload an APK is via the All Applications tab then select the Application then App releases tab then I get a list of Production, Beta, Alpha, Internal Test - in each of these I can select Manage then Create Release and upload an APK there.

    Is this the correct place to upload an APK? Which do I select?

  • Yeah - I'm mixing the two up. I've sorted the Apple Game Center leaderboards - It's the Google Play Services leaderboard I'm trying to implement for Android.

    I've got the Google Play Console and have created an application in the All Applications tab.

    In the Game Services tab I've added a new game and created a Leaderboard.

    It says the next step is for me to link an app.

    When I click Link App icon I get a series of icons (Android, iOS, Web, Chrome, Other Platform) - I choose Android and it asks me for a package name - this is where I'm up to and where I'm stuck.

    Can you help here?

  • Took me a while to figure this out but...

    Go here and resize/download all your icons: https://resizeappicon.com/

    Then import them into your project.

    Then, once you export - go into your config.xml and change...

    	<icon src="www/icons/icon-512.png" width="512" height="512" density="xxxhdpi" />
    	<icon src="www/icons/icon-256.png" width="256" height="256" />
    	<icon src="www/icons/icon-128.png" width="128" height="128" density="xhdpi" />
    	<icon src="www/icons/icon-64.png" width="64" height="64" density="mdpi" />
    	<icon src="www/icons/icon-32.png" width="32" height="32" />
    	<icon src="www/icons/icon-16.png" width="16" height="16" />
    [/code:2la2uxih]
    
    ...to...
    
    [code:2la2uxih]    <icon src="www/icons/appicon24x24@2x.png" width="48" height="48" />
        <icon src="www/icons/appicon27.5x27.5@2x.png" width="55" height="55" />
        <icon src="www/icons/appicon29x29@2x.png" width="58" height="58" />
        <icon src="www/icons/appicon29x29@3x.png" width="87" height="87" />
        <icon src="www/icons/appicon40x40@2x.png" width="80" height="80" />
        <icon src="www/icons/appicon44x44@2x.png" width="88" height="88" />
        <icon src="www/icons/appicon86x86@2x.png" width="172" height="172" />
        <icon src="www/icons/appicon98x98@2x.png" width="196" height="196" />
        <icon src="www/icons/googleplaystore.png" width="512" height="512" />
        <icon src="www/icons/hdpi.png" width="72" height="72" />
        <icon src="www/icons/icon-16.png" width="16" height="16" />
        <icon src="www/icons/icon-32.png" width="32" height="32" />
        <icon src="www/icons/icon-60@2x.png" width="120" height="120" />
        <icon src="www/icons/icon-60@3x.png" width="180" height="180" />
        <icon src="www/icons/icon-64.png" width="64" height="64" density="mdpi" />
        <icon src="www/icons/icon-72.png" width="72" height="72" />
        <icon src="www/icons/icon-72@2x.png" width="144" height="144" />
        <icon src="www/icons/icon-76.png" width="76" height="76" density="hdpi" />
        <icon src="www/icons/icon-76@2x.png" width="152" height="152" />
        <icon src="www/icons/icon-83.5@2x.png" width="167" height="167" />
        <icon src="www/icons/icon-128.png" width="128" height="128" density="xhdpi" />
        <icon src="www/icons/icon-256.png" width="256" height="256" />
        <icon src="www/icons/icon-512.png" width="512" height="512" density="xxxhdpi" />
        <icon src="www/icons/icon-notification.png" width="20" height="20" />
        <icon src="www/icons/icon-notification@3x.png" width="60" height="60" />
        <icon src="www/icons/icon-small-40.png" width="40" height="40" />
        <icon src="www/icons/icon-small-40@2x.png" width="80" height="80" />
        <icon src="www/icons/icon-small-40@3x.png" width="120" height="120" />
        <icon src="www/icons/icon-small-50.png" width="50" height="50" />
        <icon src="www/icons/icon-small-50@2x.png" width="100" height="100" />
        <icon src="www/icons/icon-small.png" width="29" height="29" />
        <icon src="www/icons/icon-small@2x.png" width="58" height="58" />
        <icon src="www/icons/icon-small@3x.png" width="87" height="87" />
        <icon src="www/icons/icon.png" width="57" height="57" />
        <icon src="www/icons/icon@2x.png" width="114" height="114" />
        <icon src="www/icons/itunesartwork.png" width="512" height="512" />
        <icon src="www/icons/itunesartwork@2x.png" width="1024" height="1024" />
        <icon src="www/icons/ldpi.png" width="36" height="36" />
        <icon src="www/icons/loading-logo.png" width="64" height="64" />
        <icon src="www/icons/mdpi.png" width="48" height="48" />
        <icon src="www/icons/xhdpi.png" width="96" height="96" />
        <icon src="www/icons/xxhdpi.png" width="144" height="144" />
        <icon src="www/icons/xxxhdpi.png" width="192" height="192" />[/code:2la2uxih]
    
    ...as Construct doesn't put all the required icon sizes into Config.xml
    
    Hope this helps.
  • All sorted with the latest r97 release.