playMaker

Author Topic: Photon Friend Help!!  (Read 639 times)

lionserver

  • Playmaker Newbie
  • *
  • Posts: 13
    • View Profile
Photon Friend Help!!
« on: July 31, 2019, 09:48:13 AM »
I find about Global Event FRIEND LIST UPDATE  ,but I Don't know how to use it.
I want to design functions (Find ID) ,(Add This IDplayer to Friend), (invite Friend to room to play).
Can anyone give me some clue?
Thanks a lot!!

tcmeric

  • Beta Group
  • Hero Member
  • *
  • Posts: 746
    • View Profile
Re: Photon Friend Help!!
« Reply #1 on: July 31, 2019, 06:23:57 PM »
Are you 吳孟樺?  :) 你是中国人吗?

I believe Jean is working on some sample scenes for various lists for Pun2 and Playmaker. He will probably respond here when he has a chance.


jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15082
  • Official Playmaker Support
    • View Profile
Re: Photon Friend Help!!
« Reply #2 on: August 01, 2019, 01:29:54 AM »
Hi,

 What version of PUN are you using?

Bye,

 Jean

lionserver

  • Playmaker Newbie
  • *
  • Posts: 13
    • View Profile
Re: Photon Friend Help!!
« Reply #3 on: August 03, 2019, 11:16:39 PM »
I used pun not pun 2, and I download the package on july.
thanks for reply. If I know how to invite add and delete friends, I will finish my game!!
I Can write PHP Datanase. So you can give me more information.

Thanks a lot^^

lionserver

  • Playmaker Newbie
  • *
  • Posts: 13
    • View Profile
Re: Photon Friend Help!!
« Reply #4 on: August 03, 2019, 11:19:28 PM »
Are you 吳孟樺?  :) 你是中国人吗?

I believe Jean is working on some sample scenes for various lists for Pun2 and Playmaker. He will probably respond here when he has a chance.

Yes, but I am Taiwanese. 我是台灣人!!
I use PUN not PUN2.
If it need PUN2 to get this feature, I will learn PUN2 immediately.

Thanks a lot!!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15082
  • Official Playmaker Support
    • View Profile
Re: Photon Friend Help!!
« Reply #5 on: August 05, 2019, 10:47:36 PM »
Hi,

 Friends are available in PUN, it's coming soon on PUN 2, but to implement friends, you also need a user management system, so yes you can write it in php mysql.

you need to login users and attribute a unique ID, and then create a system for users to manage their friends so that when a user logs in, you can fetch the list of friends. then in pun, you give this list of friends id and it will check if they are connected to the game, and where they are ( in a room, what room, etc).

more infos here: https://doc.photonengine.com/en-us/pun/current/lobby-and-matchmaking/userids-and-friends

 Bye,

 Jean

lionserver

  • Playmaker Newbie
  • *
  • Posts: 13
    • View Profile
Re: Photon Friend Help!!
« Reply #6 on: August 13, 2019, 08:39:16 AM »
Hi,

 Friends are available in PUN, it's coming soon on PUN 2, but to implement friends, you also need a user management system, so yes you can write it in php mysql.

you need to login users and attribute a unique ID, and then create a system for users to manage their friends so that when a user logs in, you can fetch the list of friends. then in pun, you give this list of friends id and it will check if they are connected to the game, and where they are ( in a room, what room, etc).

more infos here: https://doc.photonengine.com/en-us/pun/current/lobby-and-matchmaking/userids-and-friends

 Bye,

 Jean


Thanks a lot!! I will find tutorial or Docs about this!!