Game State Sync

Retrieve a simulated stream of data through PubNub with updated state information of clients in a sample online multiplayer role-playing game

Stream Details
Channel: pubnub-game-state
Subscribe key: sub-c-b1cadece-f0fa-11e3-928e-02ee2ddab7fe
To use this stream in your project subscribe to this channel and subkey
Schema
{
  coord_x: 123,
  coord_y: 321,
  action_name: 'Heal',
  action_type: 'Instant,
  action_value: 45
}

Try PubNub Today

Try for free
  • 1M Transactions
  • 1GB Data Persistence
  • All major Features