Photon Realtime and Cocos Creator

Is it possible to implement Photon with Cocos Creator?

I've seen here that we can put a plugin js in cocos creator project. But I don't know how to call anything. How do I refer to LoadBalancing or Connect?


  • Photon js library declares global object 'Photon' which exposes entire Photon API except logging which is in another global object 'Exitgames', e.g.: Photon.LoadBalancing.LoadBalancingClient, Exitgames.Common.Logger.Level.INFO.
    You can find usage samples in demos from sdk package.