fredriksthlm's Recent Forum Activity

  • you will never get scores from requesting info of the connected players (getConnectedPlayersAsync). Since there can be several leaderboards, so it is impossible to know which score to fetch. So no info of any score is part of this request.

    you can though get scores from connected players using the leaderboard function (Leaderboard.getConnectedPlayerEntriesAsync) as you say. Which is the update in v6.2 and it is already implemented which I described, so yes, it is covered! But from this function you will not get the IDs.

    Scirra do not decide this, this is how the IG functions work. You will need to adress this to Facebook, not to scirra.

  • I was replying to your question "From version 6.2 there is an option to fetch score data for connected players. Where is that on Construct's plugin?"

    And I told you where it is.

    But you cannot get the player ID from that function, because it is not part of it.

    So you have to ask your question to Facebook, not to scirra.

    (the answer will be that you need your own backend though... )

    TheRealDannyyy v78 will be stable Oct 22.

  • That functionality exist in Load Leaderboard data, just change Results into Connected players.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I cannot say for sure what effect this setting will have for an app. But I can obviously say that I from time to time see other scores (updated ones) in the native GooglePlay Leaderboard dialog screen than what I can get while fetching scores inside the game.

    If that depends on the API or if it would be "solved" by this setting I am not really sure of.

    But if you say it is "easy" to investigate/implement I think it would be nice, but it can be defaulted to False

  • hmm.. actually When i use Fetch Leaderboard data in the game it sometimes gets "old" data, the same data as I had when I opened the app, even though new postings have been done while playing. then if I open the "real" GooglePlayGames app on the phone I can see new/higher scores there. then if I am in game again and try to fetch score it might take a couple of reloads before I really get the same scores as I see in the PlayGames app.

    To just show a leaderboard this is acceptable, but when you fetch a score within the game for use in some game logic it must be sure that it is the latest score and never an "old one".

    this is not something you have seen in any testing?

  • It seems the forcereload of the leaderboard in the GooglePlay plugin is missing? In the GooglePlay SDK you can send String leaderboardId, int span, int leaderboardCollection, int maxResults, boolean forceReload. All of them exist in your plugin, but not the last boolean.

    Normally it is fine to use cached data (the boolean is defaulted false if not stated true) if you just want to display a leaderboard for the users, then the data may not have to be totally uptodate, cached data is fine. But if you use the playerscore in the game logic it is crucial that you can assure that the fetched data is totally fresh and not cached (old lower score)

    Or am I missing something?

    Nepeo

  • If you select T you are not allowed to target children for your app. If you target children you must set G. If you app is 13+ then you can use T for ads.

    You set the age targets in the console for the app.

  • Ah! Sorry, thank you! :) That looks more correct! (still it is a huge hit for the revenue...)

  • Ah! Cool! I have missed that!

    Sidenote: a BAD implementation by Google, since that setting is for the AdMob account, not for the individual apps or ads.. So if you set it to G, it will be for all your apps!

    Oh my, and setting it to G means the revenue will decrease by -36% to -69 %! Hmm don't know what it best actually, to allow the games for children but reduce revue by like 50%! or just allow them for adults... hmmm..

  • All of my games have been delisted from GooglePlay due to an ad violation. I use ads via AdMob, the official scirra plugin. I had selected that my game was proper from 9 years and above in GooglePlay Console. (Simple platform game, no violence or anything). I got an email that they delisted my game since it had shown ads for dating-apps (they attached printscreens)..

    If you allow any age group under 18 in google Play console you must show ads that are allowed for minors. This important setting is not part of the official AdMob plugin? (Or have I missed it?) It exists in Chadoris plugin, but I do not wish to change all events for all of my apps at the moment.

    If your app is targeted towards everyone, including children and families, you’ll need to include code that calls the tagForChildDirectedTreatment()method for ad requests served to children and also specify the maximum ad content rating.

    Here is the setting explained:

    support.google.com/admob/answer/6223431

    Anyone else facing this issue or have any input?

    Tagged:

  • when you have a test version you will have a test url, so you can download the test version to your phone, via google play.

    You can use the internal test channel for your testing.

    when you open the app, if google play games works fine, you will se it popping up on the app start, regardless of your code. (Your code will not work btw)

    A general tip: Try to understand how the events actually works, display things, hide them, make them visible, sub events, variables etc etc before you try to inlcude stuff like google play games! :)

fredriksthlm's avatar

fredriksthlm

Member since 6 Jun, 2016

Twitter
fredriksthlm has 8 followers

Trophy Case

  • 8-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • RTFM Read the fabulous manual
  • x42
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x10
    Lightning Draw First person to up-vote a new Construct 3 release
  • Email Verified

Progress

20/44
How to earn trophies