Laughing14's Recent Forum Activity

  • Love it. Bought it. Used as background for my game Sheep Shifter! Thanks, Matt!

  • The best I can say is follow the directions step by step very carefully here:

    https://www.scirra.com/manual/175/google-play

    Especially the part about enabling access in preview mode, copy & pasted below.

    [quote:y2i36cq9]Enabling access in preview mode

    When testing your project, your game will typically run from localhost or a local IP address for preview-over-wifi. Since this is is different to the published URL of your game, Google Play Game Services will block access unless you add the preview URLs as permitted locations.

    To do this, in the Developer Console under Game details, find the header that says API CONSOLE PROJECT and follow the link to the API console project for your game. In the API console, select APIs & auth, then Credentials. Notice the Javascript Origins field contains only your final URL; this also needs to contain any preview URLs to be allowed access. Click Edit settings. Under Authorized Javascript Origins, make sure the final URL and any preview URLs appear on separate lines. Note normal preview by default happens on http://localhost:50000, but you also need to add any preview-over-wifi addresses you use, such as http://192.168.1.3:50000. For example, the completed Authorized Javascript origins could list:

    http://www.mywebsite.com/games/myawesomegame

    http://localhost:50000

    http://192.168.1.3:50000

    Click Update. Now your game should be authorised to be accessed from preview mode as well as when you publish it.

  • I will answer my own question here in case anyone else has the same issue. I didn't need a plugin. I needed to request scores from the leaderboard first.

    Where I got tripped up was I thought I could request player details and the person's best score (GooglePlay.HiScoreMyBest) would be available. No. Request the appropriate leader board (I recommend using "social" and "window" among the options) then it's available.

    Thanks all! The Construct 2 community is superb, so I hope this helps! Cheers!

  • I'm having decent success with Google Play Services. Everything seems to work, login, and submit score triggers success.

    Everything seems to work smoothly. The only thing I'm having trouble with is retrieving the score.

    FYI -- I am in the testing phase not even to mobile yet. Strictly on the web.

    Googleplay.HiScoreMyBest keeps showing as zero, even though submit score works and triggers submit score success.

    Please help! I feel like I'm so close. I have turned off tampering on the dashboard. Tried many things. Am I simply not accessing the correct variable after Request player details?

    If your suggestion is to use the Cranberry plugin will that work for web? Thank you.

  • It's now four months later and you have no answer. I am having the same issue. Everything works perfectly, as expected but the scores keep returning zero.

  • blackhornet - this is a brilliant tool! THANK YOU!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Please close this and accept my apologies. This is not a bug. I discovered solution by accident. FB requires the icon be a certain size. When I tried it accidentally with a 128 x 128 icon (instead of the smaller size I was using) it worked great. Thanks as always, Scirra!

  • also just noticed if the user selects full screen the FB canvas expands and the windows easily line up. thanks

  • Thanks for taking the time and my apologies for improper bug submission. I'll do better next time.

    As for this issue my work-around was to simply expand the FB canvas so that the ads and FB window don't overlap at all.

    Scirra rocks!

  • Problem Description

    I am using "Prompt to share app" after condition of Facebook API ready and user logged in.

    The prompt works, everything works EXCEPT it doesn't show the image I supply the URL for,

    I've tried it as PNG and JPG, I've tried it thru https and http.

    No matter what I can't get the darn icon to show.

    Are their specs for its size? (It's not huge, just normal icon.

    Further, C2 says that in absence of link, it will use loading-logo.png.

    I tried no link and no logo showed. I'm at a loss. Please help!

    Thank you!

    Here's the game, live on Facebook: https://apps.facebook.com/tapcatgame

    Attach a Capx

    Image of code attached

    Here is the CAPX it activates when it is on a server and can post to FB, doesn't activate locally.

    http://www.larrynocella.com/images/post%20to%20FB%20issue.capx

    Description of Capx

    should share info and icon, only shares info. everything works except it doesn't show the icon

    Steps to Reproduce Bug

    Play it once, and after it will ask to share your score on your Facebook feed, if you are logged in to Facebook

    In the share box, no icon will appear

    Observed Result

    All works but no icon appears

    https://youtu.be/GBPEjj8bDsU

    Expected Result

    Icon to appear in FB share window

    Affected Browsers

    Same result on Chrome and Edge

    Operating System and Service Pack

    Win 10

    Construct 2 Version ID

    C2 beta rel r217

  • Okay so I'm not sure if this issue I've raised qualifies as a bug but if anyone else if having this issue a quick solution i found is to take off the width restriction on the FB canvas. this then expands the space so the ads justify left and right to the max. the FB pop up is then no longer obscured. not ideal solution because of all the empty space.... but it works. rock on scirra!

  • Problem Description

    When using Facebook prompt to share app, the button to post appears behind HTML elements despite reducing z-index level of all HTML items to zero. Could it be the ad being served by Ad4game.com is higher z-index?

    Observed Result

    Post button of FB pop up appears behind ad.

    Click this link to see full image - ad covering FB window is on right sidehttp://larrynocella.com/images/capture.png

    Operating System and Service Pack

    Win10

    Construct 2 Version ID

    Release 217 64-bit

Laughing14's avatar

Laughing14

Early Adopter

Member since 1 May, 2014

Twitter
Laughing14 has 2 followers

Connect with Laughing14

Trophy Case

  • 10-Year Club
  • Popular Game One of your games has over 1,000 players
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

14/44
How to earn trophies