jatin1726's Recent Forum Activity

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

jatin1726's avatar

jatin1726

Member since 27 Oct, 2014

Twitter
jatin1726 has 4 followers

Trophy Case

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

Progress

15/44
How to earn trophies