Enable multiplayer networking with your mobile games with three functions:
Init PubNub Multiplayer Object
Subscribe()to begin receiving messages.
Publish()to send messages.
Additionally, you can take a look at the Corona SDK website here.
Download Corona Multiplayer API
Download all the source code you need here: https://github.com/pubnub/pubnub-api/tree/master/lua-corona.
Follow these easy steps to get starting with your Multiplayer API.
- Download Lua Corona Multiplayer API
- Get Your PubNub Keys
- Copy the files into your Lua Code Directory
- Continue Reading to add just 3 functions to Enable Multiplayer Support.
Get Your PubNub Keys Here
Learn about PubNub Cloud-Hosted Service for Real-Time Messaging
PubNub is a new kind of Cloud-Hosted Broadcasting Service for Mass Communication on Mobile Phones, Tablets, TVs, HTML5 Web Browsers and Game Consoles. Already more messages are published to PubNub each day than to Twitter. We believe in unified broadcasting and mass communication empowerment for application and game developers who build on Mobile Phones, TVs, HTML5 Web Browsers, Tablets and Game Consoles.
Below are code snippets you’ll need to get going: