jatin1726's Forum Posts

  • Yes, use the "Request hi-score board" action.

    Then "On hi-score" event you can retrieve the info about each entry in the leaderboard (HiscoreName, HiscoreRank)

    More infos:

    https://www.scirra.com/manual/112/facebook

    Thanks again . will try it and share it here.

  • The C2 Facebook plugin cannot retrieve emails. But there's a modified version of it that can:

    https://www.scirra.com/forum/plugin-mod-to-facebook-plugin-email-and-token_t76595

    Hi Aekira,

    Is it possible to get friends list who are playing same game and display scores to compete with them using this plugin?

    Regards,

    Jatin

  • This is the official Facebook plugin + Email expression

    https://ufile.io/f1p4k

    1- You login with facebook

    2- You can retrieve the email in the "on name available" using the email expression

    Thanks a lot. It s working like dream now.

  • The C2 Facebook plugin cannot retrieve emails. But there's a modified version of it that can:

    https://www.scirra.com/forum/plugin-mod-to-facebook-plugin-email-and-token_t76595

    Thanks Aekiro studioz for sending reply. I tried first link in the post and it is not available.

    Second link from Nandynho ! is incapable of getting email id. Though this plugin can get gender info but I don't require that. My main requirement is email id of fb user. Can you further help me out in same?

    Regards,

    Jatin

  • In order to get user emails you must request users permission when authenticating, so, when you use the Login action in the Facebook object include "email" in the list of permissions you're requesting. You can find a very complete list of permissions for the Facebook Graph API here: https://developers.facebook.com/docs/fa ... ermissions.

    Also, remember that, as mentioned in Facebook Graph API manuel, "All these permissions, except the default, public_profile, require that you have Client OAuth Login enabled for your app on the Facebook Login tab of your app dashboard."

    Once you have the permission you can do a request to the Facebook Graph API via AJAX.

    Hope this helps. Cheers!

    Hi brunopalermo,

    Thanks a lot for quick reply. Really appreciate it. After taking email permission, how to get email displayed in text box. Consstruct 2 object allows full name to be shown inside text box but nothing there for email id. I am not a php or Ajax guy. It will be really big help if you can show me the path for capturing email id in a textbox after user login through FB. I am sharing my capx made for fb login. can you modify it and help me to get email id?

    https://touch.affle.com/explorations/mohan/fblogin.capx

    Regards,

    Jatin

  • Hi Everyone this method is no longer working. Can someone suggest another resolution?

    Regards,

    Jatin

  • Hi All,

    I need help in capturing email id of user when he enters in construct 2 game using fb login. I am using construct 2 fb object only. Right now it can display only username and profile pic. How can i get fb email id of the player so that user need not to fill his email id in the form and it will be feteched automatically from facebook?

    Thanks & regards,

    Jatin

  • Hi Evveryone,

    Since many days I am puzzled with email validation on inputbox. There was an old post but it is not working anymore. Sharing old post link here.

    Can someone guide me plz how to do this email validation so that only once is allowed in the input box?

    Thanks in advance.

    Jatin

  • Using search, I found this: https://www.scirra.com/forum/create-an-lighningt-bolt-als-weapon_p1145340?#p1145340.

    You should be able to customise for your needs.

    Thanks Zenox, u made my day. Was looking for this from long time.

  • You mean something like this?

    Create a sprite with the lightning ray (static or animated).

    When you fire your weapon, spawn this sprite, adjust its angle and width so it connects your weapon with the target.

    You might want to add several variations of the ray image/animation and select one of them at random.

    Thanks dop2000, but this is last solution. I am sure there will be someway to draw thunder lightning lines in realtime with bolt effect.

  • How to create lightening thunder ray for attacking enemy? Please dont suggest straight laser lines. Need thunder lightening rays coming out from gun to enemy. Can anyone help?

  • Hi Ashley, waiting for ur reply.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi Friends,

    iOS 11 has allowed getusermedia to open camera on iPhones and safari 11 browser but construct 2 games are not able to open camera after allowing camera request pop up?

    Also, adapter.js seems to be old and latest version is available. Ashley can you please update it so that construct 2 can display resolution more than 640x480? Now we can open hd and full hd resolution too (provided support by hardware device). Can someone help in this?

    Regards,

    Jatin

  • can u show us tutorial to make this?

  • > thank you DolyGamesCosmos

    >

    You're welcome

    Hi Dolygames,

    Can you please post tutorial or capx for your cookie crush 2 game? I am looking for it from long long time.

    Thanks in advance.