[Plugin] Photon Cloud

From the Asset Store
Basic Plugins for Firebase Authentication, Realtime-Database, Firestore, Cloud Storage
  • hi the photons, how could a player leave a room, as I have tested, the player remains in the room after the leave room is invoked or the plugin generates an error to every one when you try to leave,

    regards,

    Carlos Abreu.

  • carlosabreu1981 without a capx or screenshots of your code and of the console it'S impossible to tell

  • Yo ThePhotons Construct 3 breaks on minifying with the photon plugin in the project

    Hi, please provide more details. What are you trying to do and what errors do you have.

  • hi the photons, how could a player leave a room, as I have tested, the player remains in the room after the leave room is invoked or the plugin generates an error to every one when you try to leave,

    regards,

    Carlos Abreu.

    Hi,

    Please provide reproduction steps and error log from clients generating error.

    Leaving the room in demo-test.capx project works for me.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • ThePhotons

    I took a random default project from the splash page in construct 3, added the photon plugin, added the default multiplayer plugin, previewing the project works.

    https://puu.sh/yrClh/30b90df657.c3p

    I export the project with minify on and get a black screen

    https://puu.sh/yrCwk/55ae2957d2.zip

    I export with minify off, the black screen is gone and the game works

    https://puu.sh/yrCAa/bc2c05acc8.zip

  • Please find updated plugins at https://www.photonengine.com/en-US/sdks ... construct2

    Now Photon library imported as external dependency avoiding minification breaking objects names.

  • It would be nice if you could provide a documentation for expressions and other things, it's hard to tell what requires what.

    Sorry, we do not have detailed documentation on Photon plugins. But every expression, action and condition has short description which should be enough if you are familiar with Photon client workflow. Please find details on how Photon works here https://doc.photonengine.com/en-us/real ... time-intro

    Also try tutorials listed at the beginning of this topic plugin-photon-cloud_p888056

  • ThePhotons I am experiencing this issue when uploading games which use Photon on the web:

    Is there a way to get around this somehow?

  • Trying to sync name to other player with this event.

    2 player join with name QWE and ASD.

    1st join QWE,

    2nd join ASD.

    on player1 screen.

    player1 name is QWE, player2 name is Text.

    on player2 screen.

    player1 name is ASD, player2 name is ASD.

    i'm tried many event and logic.

  • ThePhotons I am experiencing this issue when uploading games which use Photon on the web:

    Is there a way to get around this somehow?

    Which scripts exactly fail to load?

  • Trying to sync name to other player with this event....

    The image is not displayed for me. Probably permission issue.

    You can use "Set my actor name" action and ActorNameByNr expression to set and get players names.

  • Which scripts exactly fail to load?

    Here are the errors I'm getting in Chrome's console:

    Photon-Javascript_SDK.min.js:3 Mixed Content: The page at '[game URL]' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://ns.exitgames.com:9093/'. This request has been blocked; this endpoint must be available over WSS.
    
    Uncaught DOMException: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS.
    
    Client: LoadBalancingPeer checkNextState fail: ConnectingToNameServer -> ConnectingToNameServer 
    
    Client: Connecting to Region Master error: Not connected to NameServer[/code:3ia3sib4]
  • Can anyone provide more documentation for this plug-in? Its very time consuming trying to work out what does what. Using chrome console is helping somewhat but it would be nice to have a starting point.

  • Does the photon plugin still support on premise servers(if it was ever supported)?

  • Lasmelan

    The error is quite clear. You are trying to connect non-secure websocket from a page loaded via https. Change protocol to 'wss' in Photon object properties.

Jump to:
Active Users
There are 5 visitors browsing this topic (0 users and 5 guests)