twg's Recent Forum Activity

  • > I could never get the "On configuration Complete" to trigger as true even though the app ID has been set. I started using the "Is configured" event instead and it started triggering.

    >

    Hello! Thank you for your reply. I did some debugging and indeed "On configuration Complete" was not triggering. I replace it with "Is configured" and this one is working. However, it seems that "Is banner loaded" is not triggering either. Was that working fine for you? Or how did you get around that?

    For my interstitial and reward ads I use "Is interstital Ready" and "Is Video Ready". Try using "Is Banner Ready".

  • My new game Hexballs is out if anyone wants to check it out.

    Trailer:

    Subscribe to Construct videos now

    Appstore: https://itunes.apple.com/us/app/hexball ... ?ls=1&mt=8

    Google Play: https://play.google.com/store/apps/deta ... e.hexballs

    Web: http://hexballs.com

    Cheers.

  • I could never get the "On configuration Complete" to trigger as true even though the app ID has been set. I started using the "Is configured" event instead and it started triggering.

  • > twg

    >

    > check this:

    > https://stackoverflow.com/questions/46232812/cordova-app-not-displaying-correctly-on-iphone-x-simulator

    >

    > he mentions some CSS fix:

    > Use safe-area-inset-left, safe-area-inset-right, safe-area-inset-top, or safe-area-inset-bottom

    >

    thanks for that

    any idea where and how to add those constant ?

    http://lmgtfy.com/?q=where+do+i+put+css+code

  • Update: This problem only effects games that are in landscape orientation, games in portrait display fine using the viewport-fit=cover and the correct launch images or storyboard. Only solution I have found for landscape games is setting viewport-fit=auto and having the ugly black bars on the left and right of the screen.

  • I am not sure whether is it cordova's issue. I have not got the chance to test it out.

    stackoverflow.com/questions/46232812

    /cordova-app-not-displaying-correctly-on-iphone-x-simulator

    I'm not sure if it's C3 or Cordova because we are getting inconsistent results, a few of us are having this viewport shifting of the screen problem but others like Kraudi released a game last month that displays correctly on iPhoneX, but he gave me a blank project with all the settings he used for that game and it doesn't display correctly for me but it does for him.

  • twg

    can you check... does your project have a proper Launchimage for iphone x?

    eg: LaunchImage-1100-Portrait-2436h.png

    Earlier in the thread I already said I have tried using both launch images and storyboards with the correct dimensions, those are not the problem. I have Unity projects using the exact same launch images and storyboards that display fine on iPhone X.

  • twg

    Any luck?

    irina nope, still getting the viewport shifted off the left of the screen, only solution I have found is to set viewport-fit:auto and the game is at least centered on the screen but doesn't not fill up the entire screen.

    The bug report has been open for over 2 months already with no updates https://github.com/Scirra/Construct-3-bugs/issues/1279 , and no one else is chiming in about their experiences with C3 & iPhone X here on the forums.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Anyone else testing their games on iPhone X?

  • Google has had Adsense for HTML5 web games for awhile now.

    https://support.google.com/adsense/answer/1705831?hl=en

  • Ninjadoodle no hostility is meant, I'm honestly trying to help, I'm just saying we both told you, the C3 documentation explained it, even the Instant Game plugin tells you in the Set Player Data dialog "Consider using a JSON string from the dictionary plugin" when you open it and you were still saying you don't understand how to use a Dictionary object with Instant Games.

    I just gave you the exact events you need to save/load your data to Instant Games from a dictionary, there aren't any more steps for the Instant Games plugin so I'm not sure what you are missing. All the data you have in the dictionary will be saved/loaded to Instant Games platform.

  • I'm however really struggling to understand how to use the 'dictionary' object together with 'Instant Games' and 'get player data / set player data'.

    There don't seem to be any options that allow me to link the 2 together.

    You have literally been told how to use the Dictionary object with Instant Games twice in the same thread(JSON) AND linked to the Dictionary documentation which explains the expression for saving/loading a Dictionary as JSON.

    To Save Data:

    Condition: Whatever condition you want

    Action: Instant Games>Set Player Data>Dictionary.AsJSON

    To Load Data:

    Condition: Whatever condition you want

    Instant Games>Load Player Data

    Instant Games>On Loaded Player Data>Dictionary>Load From JSON string>InstantGames.PlayerData

twg's avatar

twg

Member since 14 Feb, 2014

None one is following twg yet!

Connect with twg

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies