Send message to list of users who are not in same room?
Options
According to the documentation, users can't communicate in the Lobby. Please suggest me a way to handle the following situation.
Our game is a real-time match-3 RPG. A room is generated to have a battle between two random players.
Now we are going to introduce the guilds. A player can send a request to the guild members for a friendly battle. Similarly a user can send a notification to his/her friends for a battle. How we can send these notifications using the Photon infrastructure?
I can create a room for my guild members, but every time I will have to left this room for battle with other random player and join it back after battle, seems not a neat solution. Also I can't have all my Facebook friends in same room.
I am looking for a way to send some notifications to a particular user or list of users. Is it possible within PUN?
Thanks
Our game is a real-time match-3 RPG. A room is generated to have a battle between two random players.
Now we are going to introduce the guilds. A player can send a request to the guild members for a friendly battle. Similarly a user can send a notification to his/her friends for a battle. How we can send these notifications using the Photon infrastructure?
I can create a room for my guild members, but every time I will have to left this room for battle with other random player and join it back after battle, seems not a neat solution. Also I can't have all my Facebook friends in same room.
I am looking for a way to send some notifications to a particular user or list of users. Is it possible within PUN?
Thanks
0
Best Answer
-
Hi @Atif,
There are different solutions:
1. If the target platform is mobile, try Push Notifications. They are not 100% "reliable" though.
2. Implement a web based solution: send messages, save messages, poll messages using HTTP.
3. [Not recommended] Have an extra Photon client that stays on the guild room.
4. Use Photon Chat. You will have to handle an extra connection.
5. Use Facebook for this.5
Answers
-
Hi @Atif,
There are different solutions:
1. If the target platform is mobile, try Push Notifications. They are not 100% "reliable" though.
2. Implement a web based solution: send messages, save messages, poll messages using HTTP.
3. [Not recommended] Have an extra Photon client that stays on the guild room.
4. Use Photon Chat. You will have to handle an extra connection.
5. Use Facebook for this.5