[Plugin] Photon Cloud

Post your completed addons to share with the community

Post » Tue May 12, 2015 2:25 pm

ThePhotons wrote:
matrixreal wrote:wich wrapper you use ? cordova ? ejecta ? cocoonjs ?
and can we have a capx example ?

It does not use any wrapper. As I wrote we did html5 export from Construct 2 export menu.
Links to sample projects are in 1st post of this topic.

can you share with us the new .capx of the pool demo please ?
B
47
S
16
G
8
Posts: 803
Reputation: 8,378

Post » Tue May 12, 2015 2:54 pm

I am pretty sure its the pool capx at the start of this thread
B
7
S
1
Posts: 33
Reputation: 501

Post » Tue May 12, 2015 3:26 pm

no i don't thin so because its not work
i exported it to both ejecta and cordova crosswalk and it not work
it work directly on browser but not on cordova or ejecta
B
47
S
16
G
8
Posts: 803
Reputation: 8,378

Post » Wed May 13, 2015 4:38 am

ThePhotons wrote:We tested app exported as html5 website on iPad mini 2 with iOS 8.3/Safary. It works w/o problems.
Exported app: http://demoauthphoton.site44.com/c2-dem ... index.html
(we may remove the app in several days so link may become broken)

Maybe there are issues with dns on your device.
Or temporal Photon websocket server malfunction at times when you were testing.


hi,
we still wait for the new capx (probably with some fixing bugs)
because the first one on the main page not working
thanks
B
47
S
16
G
8
Posts: 803
Reputation: 8,378

Post » Wed May 13, 2015 11:41 pm

hi,
we still wait for the new capx (probably with some fixing bugs)
because the first one on the main page not working
thanks


The examples capx and plugin on the first post are working fine for me, there are a few functions the js photon version has which would be welcome additions to the C2 plugin, but so far the plug in has been able to do everything I need for a low traffic multiplayer game on IoS/HTML5/Android.

The issue I had was not having the correct ports open on all machines, so the problem was at my end, and not with plugin.
B
7
S
1
Posts: 33
Reputation: 501

Post » Fri May 15, 2015 10:48 am

Going to try out this plugin this weekend. Hard to find any info of what it can actually do... Where can i find any more documentation about this plugin? I guess this works different from Hosted games like the Multiplayer plugin.

What i would like to do and things i'm wondering about.
* Host rooms with max 4 players in each.
* Server is host, not players? (I don't want game to end when host disconnects)
* Rooms will always stay active as long as there are players in the room.
* Automatically create rooms. (When joining game and there are no rooms with available open spots)
* If anyone leaves the room, one spot opens up, will be filled by next one connecting.
* Timeouts. Let's say i have a couple rooms with one player in each. If no-one else joins within a certain amount of time, you will be disconnected and connected to another room, with more players.

Later concerns.
* Have private rooms. Only people in your game friend list will be able to join this particular room.

Could anyone experienced with this plugin confirm if my questions are doable with this plugin?
Follow my progress on Twitter
or in this thread Archer Devlog
B
42
S
18
G
19
Posts: 1,060
Reputation: 14,054

Post » Fri May 15, 2015 2:04 pm

matrixreal wrote:we still wait for the new capx (probably with some fixing bugs)
because the first one on the main page not working
thanks

Can you be more specific, what exactly does not work for you, which errors do you get.
B
7
S
2
Posts: 174
Reputation: 1,031

Post » Fri May 15, 2015 2:17 pm

tunepunk wrote:Could anyone experienced with this plugin confirm if my questions are doable with this plugin?


The plugin is Construct 2 interface to Photon js sdk http://doc.exitgames.com/en/onpremise/c ... javascript
Which in turn is one of sdks available for work with Photon Cloud: http://doc.exitgames.com/en/realtime/cu ... time-intro

While plugin covers not all js sdk / Photon cloud functionality it may be quite enough for your needs which look like fit good in Photon cloud infrastructure.
Please check documentation, tutorials and demos on exitgames.com and feel free to ask if something is still not clear.
B
7
S
2
Posts: 174
Reputation: 1,031

Post » Wed May 20, 2015 12:00 pm

Is it possible to implement something like
- delete room" (all rooms)
- kick player
- on room join failed event

Let's say I have multiple games using photon for multiplayer. Is it possible to join a random room for one of the games specifically. Right now join random room finds any room, so player from different games could land in the same room. Is there any solution to this?
B
45
S
11
G
4
Posts: 517
Reputation: 7,398

Post » Thu May 21, 2015 9:50 am

- Not sure what room deletion should do. Room removed from list after last player left the room.
- Who kicks the player? If other client, then just send message to the player you want to kick. Client should handle it and leave the room itself.
- Plugin does not has specific JoinRoom error handler currently. Use generic "On Error": plugin-photon-cloud_p915606?&sid=bf3ec42fc2d247132520a9847e613f39#p915606

You need separate appid for every game.
B
7
S
2
Posts: 174
Reputation: 1,031

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 2 guests