[Plugin] Photon Cloud

Post your completed addons to share with the community

Post » Tue Feb 17, 2015 3:06 pm

[EDITED]

The Photon Plugin allows to develop multiplayer games in Scirra Construct 2 with clients communicating
through Photon Cloud.

The plugin and demos available as Photon Scirra SDK:
https://www.photonengine.com/en-US/Real ... construct2

Check readme.txt inside SDK package for installation instructions and usage details.

Tutorial by @Sirvoid: https://www.scirra.com/tutorials/5023/h ... ith-photon
Last edited by ThePhotons on Mon Mar 28, 2016 3:51 pm, edited 4 times in total.
B
5
S
2
Posts: 126
Reputation: 885

Post » Tue Feb 17, 2015 5:57 pm

I remember looking into Photon Cloud a while back.

Does the Construct 2 version of the plugin have compatibility with mobile platforms when exporting for android and iOS?
B
29
S
5
G
5
Posts: 39
Reputation: 5,991

Post » Tue Feb 17, 2015 6:26 pm

This sounds great! I do not currently have use for this plugin, but I will play around with it since an official Photon plugin brings so many possibilities.

And as with @Astro I would also like to know. Also if if the plugin supports minification.
ImageImageImageImage
B
50
S
19
G
51
Posts: 633
Reputation: 30,081

Post » Wed Feb 18, 2015 12:31 am

Great! Another back end services.
B
99
S
22
G
192
Posts: 4,177
Reputation: 111,217

Post » Wed Feb 18, 2015 6:40 am

Thank you so much for this plugin!!
Please keep supporting it, I am very interested in additional features! :D :D
B
12
S
2
G
1
Posts: 26
Reputation: 835

Post » Wed Feb 18, 2015 10:59 am

Yes, please, keep it up!
B
42
S
11
G
4
Posts: 506
Reputation: 7,269

Post » Wed Feb 18, 2015 3:25 pm

@ThePhotons

There are some errors in edittime.js. The id of expressions are all 0.
AddExpression(0, ef_return_number, "ErrorCode", "Client", "ErrorCode", "Last error code.");
AddExpression(0, ef_return_string, "ErrorMessage", "Client", "ErrorMessage", "Last error message.");
AddExpression(0, ef_return_number, "State", "Connection", "State", "Current client state.");
AddExpression(0, ef_return_string, "StateString", "Connection", "StateString", "Current client state string.");
....


They should be unique numbers like action id and condition id.
B
99
S
22
G
192
Posts: 4,177
Reputation: 111,217

Post » Thu Feb 19, 2015 6:23 am

@Astro @DatapawWolf We updated plugin with minification issues resolved (all were for calling Photon lib from minified code). Will test export to mobile platforms soon.
B
5
S
2
Posts: 126
Reputation: 885

Post » Thu Feb 19, 2015 6:39 am

@rexrainbow Thanks for code check. I postponed setting constants in AddExpression because this does not has any effect at first sight (do you know any?) and is not reported as error by editor. But agree, if documentation states that id should be unique, better set them properly. Will fix it.
B
5
S
2
Posts: 126
Reputation: 885

Post » Thu Feb 19, 2015 6:50 am

You might test at beta version of c2. Stable version will disable this error message report.
B
99
S
22
G
192
Posts: 4,177
Reputation: 111,217

Next

Return to Completed Addons

Who is online

Users browsing this forum: dahu and 2 guests