sending updates to peers

0 votes
Im using corona and have been using this piece of code appWarpClient.sendUpdatePeers( dataEncoded ) to send updates to the other player in a 1v1 game.  This sends an update to the peer and the client, is there a piece of code that just sends an update to just the peer to save resources? Thanks!

Also can someone direct me to an api library?
asked Mar 10, 2014 in AppWarp by floppyfinapp (21 points)
recategorized Mar 11, 2014 by shepAdmin

1 Answer

0 votes
You can use the sendPrivateChat API which will only send the message to the username you pass in.

 

Here is link to API reference.

http://appwarp.shephertz.com/game-development-center/corona-game-developers-home/corona-client-apis/
answered Mar 11, 2014 by dhruvc (1,099 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
...