Photon Realtime and Cocos Creator
Is it possible to implement Photon with Cocos Creator?
I've seen here http://docs.cocos.com/creator/manual/en/scripting/plugin-scripts.html 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?
I've seen here http://docs.cocos.com/creator/manual/en/scripting/plugin-scripts.html 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?
0
Comments
-
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.1