Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: lionserver on July 31, 2019, 12:48:13 PM
-
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!!
-
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.
-
Hi,
What version of PUN are you using?
Bye,
Jean
-
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^^
-
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!!
-
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
-
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!!