How can I add 'play with your friend' feature?

0 votes
Hi! I am making a real time turn based game using appwarp and Unity.

Currently the game connects with a randomly online user and starts the gameplay.

I would like to add a feature to play with a facebook friend. How can i do that?
asked Oct 25, 2014 in AppWarp by nikhil.jolly30 (15 points)

1 Answer

0 votes
Hi,
 
You can achieve this behaviour by utilising the properties feature of rooms. You can assign some property to represent that a particular room is a private room and players should not join it when competing with a random user. You will need to use Facebook SDK to invite him/her if he/she is not online in the game. Later when he/she arrives, you can make them join the same room where invitee is present.
 
We have a blog post on how to achieve the same. Please have a look here http://blogs.shephertz.com/2013/11/13/process-of-matchmaking-with-known-user-and-random-user-on-appwarp/
 
Thanks
answered Oct 27, 2014 by Suyash Mohan (900 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...