how can two players communicate with eachother in two player game.

0 votes
asked Mar 27, 2014 in AppWarp by nikhil (8 points)

1 Answer

0 votes
First, the players need to be in a room joined togethter. There after they can use sendChat() method to exchange messages. sendChat() method sends a string message. To send a binary message you will need to call sendUpdatePeers() method. All players will receive the chats sent to them through notification listener in onChatReceived() method

 

Please follow our documentation http://appwarp.shephertz.com/game-development-center/
answered Mar 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
...