Integration with Photon Cloud: Multiplayer

Discuss game development design and post your game ideas

Post » Fri Jun 01, 2012 6:21 pm

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.Taurian2012-07-11 22:09:06
Epic Space Online - Google it!
B
34
S
10
G
5
Posts: 165
Reputation: 6,637

Post » Fri Jun 01, 2012 10:22 pm

@Taurian - Thanks for pointing to this! Interesting, and definitely worth figuring out how C2 might integrate with it.
B
105
S
20
G
12
Posts: 549
Reputation: 20,320

Post » Sat Jun 02, 2012 1:40 am

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
Epic Space Online - Google it!
B
34
S
10
G
5
Posts: 165
Reputation: 6,637

Post » Sat Jun 02, 2012 10:34 am

[QUOTE=Taurian]... their JavaSDK and the Construct 2 SDK might be all that's needed ...[/QUOTE]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).
B
105
S
20
G
12
Posts: 549
Reputation: 20,320

Post » Sun Jun 10, 2012 10:17 am

@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.
B
105
S
20
G
12
Posts: 549
Reputation: 20,320

Post » Sun Jun 10, 2012 4:52 pm

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 - Google it!
B
34
S
10
G
5
Posts: 165
Reputation: 6,637

Post » Sun Jun 10, 2012 8:41 pm

[QUOTE=Taurian]...
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).
...[/QUOTE]
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.
B
105
S
20
G
12
Posts: 549
Reputation: 20,320

Post » Sat Jun 16, 2012 6:06 am

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 ...
B
105
S
20
G
12
Posts: 549
Reputation: 20,320

Post » Sun Jun 17, 2012 9:32 pm

Keep up the good work! If its not too much, could you share with us a video of that in action?
B
27
S
9
G
5
Posts: 108
Reputation: 5,744

Post » Mon Jun 18, 2012 7:54 pm

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
B
16
S
5
G
3
Posts: 298
Reputation: 5,240

Next

Return to Game Development, Design & Ideas

Who is online

Users browsing this forum: No registered users and 2 guests