ThePhotons's Forum Posts

  • From client perspective, there is almost no difference between cloud and server aside connection workflow. I theory you can use same app with server and cloud.

    Plugin may require some adjustments to work with Photon Server. We did not test it because server is advanced topic and we hardly find many Construct2 users who want invest in server development. So cloud is our priority. Chat can be implemented easily with plugin and Photon cloud.

    If you want try server, download Photon js client sdk https://www.photonengine.com/Download/P ... -0-0-2.zip (or other sdk of your choice) and connect to local master server instead of cloud's nameserver

  • Press Subscribe button and you will see possible options.

  • First screenshot is Photon Server licenses with server-side CCU's. Such license is not required in case you use Photon cloud.

    Second one is Photon cloud application free usage plan with CCU = 20.

  • You should implement chat yourself using Photon events. Send messages as event data.

  • You should set max players before "Create room" call.

  • Does anyone face next issue?

    Local run works great, but when I compile html or NW versions, photon commands stop working at all.

    Do other non-Photon websocket apps work in NW for you? Please test to make sure that this is Photon issue.

    Maybe firewall settings?

  • unfortunately for me, I got these errors when I tried the demo-pool

    The connection to ws://ns.exitgames.com:9093/ was interrupted while the page was loading.[/code:165qyopx]edit:
    never mind me, I changed the protocol to wss and it worked
    

    Both ws and wss should work. Maybe you tried to connect during temporal server outage.

    We are suspecting some issues on Websocket servers and working on them.

  • For example, I wanna use RoomPlayerCount, but it ask me a parameter and I can´t find what it is. I search in the javascript API, but didn´t find.

    Construct 2 shows tips on parameters when edited.

    For "RoomPlayerCount" it should be like "Count of player currently in room." and "Room name." for it's "Name" parameter (all tips are in edittime.js of plugin). You need put name of room which count of player you are interested in.

    Note that this method make sense only when client is in lobby. For count of players in currently joined room, use ActorCount.

  • The link I posted is a tutorial of "Exporting desktop apps with NW.js". NW.js is another exporting option like html5.

    Sorry, I was not aware that Scirra export doc is inside.

    Then it worth checking of course

  • NW.js

    I can google it myself. But this does not answer how construct 2, photon plugin and NW.js bundled in app and how they could interfere.

  • Sorry i bad know English, so I can't understand where download plugin, and how to install it.

    Can you help me please?

    Please find plugin download link in first lines of very first post of this thread.

    Installation is the same as for any other construct 2 plugin. Refer to construct 2 documentation.

  • DrGurka

    First error means that client is not connected to the server when tries to send CreateGame operation.

    So Photon works for you if used alone in construct 2 application but fails after you add another plugin?

    What does "with NW.js" mean?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Pretty much this. I always test out new features with beta builds. Now I manage to open my project, but I have to now click "Retry" when the error message pops up to continue in my project.

    Please test if updated plugin works for you in editor beta version

  • ThePhotons

    The id of expressions should not be duplicated (now they all are 0). It might rise errors while using this plugin in beta version.

    Thanks rexrainbow.

    You already pointed me on expression id issue couple of month ago but I was not aware how that can break projects in future editor versions.

    Now expression ids fixed and package updated. Tested with editor v 206

    [quote:m86qgnba]

    BTW, scirra would not response bug reports of 3rd plugin.

    Sure. Initial issue report was so vague that it was not clear who is responsible.

  • Can't even open C2 to continue my project and I wish to use Proton. I can't revert back to older version otherwise I won't be able to open my project.. So please fix your plugin..

    What made you switch to beta version? Did you reported the issue to Construct 2 developers?

    What errors do you have exactly?