Integration with Photon Cloud: Multiplayer

Forum Home Forum Home > General > General game design
 Post Reply Post Reply Page  123 21>
Author
2,889 Rep
Post Options Post Options   Quote Taurian Quote  Post ReplyReply Direct Link To This Post Topic: Integration with Photon Cloud: Multiplayer
    Posted: 01 Jun 2012 at 6:21pm
This would be a great addon. The ability to communicate with Exit Games: Photon Cloud Service.

http://ExitGames.com

They have a Photon Javascript SDK.
https://exitgames.com/Download/Photon

I'm just not quite sure yet how to make the two communicate.

Edited by Taurian - 11 Jul 2012 at 10:09pm
Epic Space Online | An Infinite Universe MMO | Learn More
Back to Top
13,223 Rep
Post Options Post Options   Quote Velojet Quote  Post ReplyReply Direct Link To This Post Posted: 01 Jun 2012 at 10:22pm
@Taurian - Thanks for pointing to this! Interesting, and definitely worth figuring out how C2 might integrate with it.
Back to Top
2,889 Rep
Post Options Post Options   Quote Taurian Quote  Post ReplyReply Direct Link To This Post Posted: 02 Jun 2012 at 1:40am
I'm glad someone can see the benefit. I'll see if I can drum up some support on the other end(Photon) so that Scirra staff aren't alone trying to figure this out.

But if you have any knowledge of Javascript, their JavaSDK and the Construct 2 SDK might be all that's needed.

Easy Multiplayer = No Brainer
Back to Top
13,223 Rep
Post Options Post Options   Quote Velojet Quote  Post ReplyReply Direct Link To This Post Posted: 02 Jun 2012 at 10:34am
Originally posted by Taurian Taurian wrote:

... their JavaSDK and the Construct 2 SDK might be all that's needed ...
Hopefully, yes. I'll try to find time in the coming week to take a look at the Photon JavaScript SDK (bearing in mind that it's still in beta and a few problems have been signalled in the Photon forum).
Back to Top
13,223 Rep
Post Options Post Options   Quote Velojet Quote  Post ReplyReply Direct Link To This Post Posted: 10 Jun 2012 at 10:17am
@Taurian (seeing we seem to be the only two discussing this topic) :
I have now managed to take a look at the Photon JavaScript SDK. As you indicated in the Photon forum (I'm assuming you're the Taurian over there), their documentation isn't very helpful in figuring out how it all fits together.

However, I am managing to get my head around their realtime.html Javascript multiplayer map demo and have started exploring how it might be plugged into Construct 2. Going to be a slow process though, I think. As you discovered, the Photon people don't seem to be at all interested in doing something on their side. Pity.
Back to Top
2,889 Rep
Post Options Post Options   Quote Taurian Quote  Post ReplyReply Direct Link To This Post Posted: 10 Jun 2012 at 4:52pm
I was surprised with his answer, as they currently rely on the unity3d market for sales. I don't need to go into the details of why it's a great idea to make a photon-construct2 plugin. They'll come around eventually.

CJR Gaming has been a real life saver with Photon. But it required me to learn a spot of C#.

http://cjrgaming.com/photon_mmo_development

It's the closest thing I've found to SocketIO.

Javascript Multiplayer Map Demo
I've never seen this before, didn't even know they had a Javascript demo. Was it in the Java SDK? If so, it's probably targeting the Photon Server(Hosted) and not their cloud (Which is still ok).

I have quite a bit of experience with the Photon Server version so if you need some quick answers, that's definitely something I can help with.
Epic Space Online | An Infinite Universe MMO | Learn More
Back to Top
13,223 Rep
Post Options Post Options   Quote Velojet Quote  Post ReplyReply Direct Link To This Post Posted: 10 Jun 2012 at 8:41pm
Originally posted by Taurian Taurian wrote:

...
Javascript Multiplayer Map Demo
I've never seen this before, didn't even know they had a Javascript demo. Was it in the Java SDK? If so, it's probably targeting the Photon Server(Hosted) and not their cloud (Which is still ok).
...

Yes, look for realtime.html in the samples dir. And yes, it does target the Photon Server(Hosted), but I'm hoping that a C2/Photon plugin that works on a self-hosted server would be an easy port to the Photon Cloud.

Thanks for the CJR Gaming ref - I'll have a good look at that.

And thanks very much for your offer of help with the Photon server itself.
Back to Top
13,223 Rep
Post Options Post Options   Quote Velojet Quote  Post ReplyReply Direct Link To This Post Posted: 16 Jun 2012 at 6:06am
Update: Continuing to work on a Photon plugin. I've put a stub plugin in a simple C2 grid/map game (well, not really a game, just a sprite moving round a 20x15 grid), then exported the code and took the C2 runtime.js and have begun to fill out the Photon function with code modified from the Photon realtime demo. Promising results so far ...
Back to Top
3,954 Rep
Post Options Post Options   Quote Yung Quote  Post ReplyReply Direct Link To This Post Posted: 17 Jun 2012 at 9:32pm
Keep up the good work! If its not too much, could you share with us a video of that in action?
Back to Top
2,777 Rep
Post Options Post Options   Quote naelian Quote  Post ReplyReply Direct Link To This Post Posted: 18 Jun 2012 at 7:54pm
Well i discover Photon reading this post ... multiplayers/achievements/leaderBoards ... all that seems really interesting and 100 users at same time for free is a good price too ;-p

Back to Top
 Post Reply Post Reply Page  123 21>

Forum Jump Forum Permissions View Drop Down