[Plugin] Photon Cloud

From the Asset Store
Basic Plugins for Firebase Authentication, Realtime-Database, Firestore, Cloud Storage
  • Tyvm ThePhotons ! I totally missee this turbnbased stuff.

  • I have a question about the interest groups ThePhotons

    We have the Change groups action in the photon plugin to add and remove interest groups of the client.

    My question is, if I use the Change groups action to manage the client's interest groups,

    what do I enter in the InterestGroup field in the Raise event action ?

    Is it possible that the interestGroup field in the Raise event action overrides the Change groups action ?

  • OK, I made a simple test project now. interestGroupTest.capx

    Data I send shows up for the other client despite having set different interest groups via the Change groups action.

    It does however work If the interest group is directly set in the Raise event action (unless it is set to 0, then it will send data to every group again for some reason)

    Image from MMO Concept for terminology.

    If I'm not mistaken how I understand it right now, the only possible way to get interest groups working is by

    using (construct) events to loop through a list of ID's (regions) that are in the interest area of the player

    and use the Raise event action to send data for each ID (region) individually,

    this would render the Change groups action useless though.

  • Hi, what is the best way to make an event happen in both players at the same time?

    My game is 1 vs 1.

    Is the most precise way to send the event from the server simply ?.

  • The problem is that the player who is not a teacher / server also performed those actions at the beginning, when he entered the room.

    Neither photon.MyActorNr nor photon.MasterActorNr is defined while client is not joined to a room. So behavior of code using these variables is not defined also. Simply do not use them while not in a room (add Photon 'Is joined to a room' check to your condition)

  • Hi, what is the best way to make an event happen in both players at the same time?

    My game is 1 vs 1.

    Is the most precise way to send the event from the server simply ?.

    "Raise event" action has 'Receivers' parameter which set to 'Others' by default meaning that client sends event to all clients in a room except itself. To send event to itself also, change this parameter to 'All'.

  • If I'm not mistaken how I understand it right now, the only possible way to get interest groups working is by

    using (construct) events to loop through a list of ID's (regions) that are in the interest area of the player

    and use the Raise event action to send data for each ID (region) individually,

    this would render the Change groups action useless though.

    "Change groups" subscribes client to and unsubscribes from events sent to specified groups. Client can listen to multiple groups. But event can be sent to single group only. So technically, to send to multiple groups, you need to create new group containing clients from all groups you want to send to (subscribe all these client to this supergroup). I'm not sure that this is realistic solution, especially considering number of groups limited to 255.

    Note that mmo concept you mentioned is implemented with server support and does not rely on groups.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Oohhhh , well that actually makes a lot of sense.

    The players position is only ever inside one region so he only needs to send to this one region,

    but he needs to know about other players or items in all the regions he can see.

    I think i got it now Thank you ThePhotons

  • Hi, for 3/5 days it's been hard for me to connect to the main photon server.

    Are they doing maintenance or something like that ?.

    Previously I connected without problems, now I must refresh the page (reset preview in chrome) to try to connect.

    What I want to say is that there is some problem with the connection to the photon server.

  • Hi, for 3/5 days it's been hard for me to connect to the main photon server.

    Are they doing maintenance or something like that ?.

    Previously I connected without problems, now I must refresh the page (reset preview in chrome) to try to connect.

    What I want to say is that there is some problem with the connection to the photon server.

    We had an outage on Tuesday (EU) and a short one yesterday (also EU) but currently everything works fine.

    You can check current status and history at https://www.photonengine.com/status and status updates at https://twitter.com/exitgames

  • Hello guys, I have a problem... When I go to the photon website to download te Construct 2 Plugin, I can't find the download.

    There is only the Doc and the API doc section. ThePhotons Can you help me?

  • > Hi, for 3/5 days it's been hard for me to connect to the main photon server.

    > Are they doing maintenance or something like that ?.

    > Previously I connected without problems, now I must refresh the page (reset preview in chrome) to try to connect.

    >

    > What I want to say is that there is some problem with the connection to the photon server.

    >

    We had an outage on Tuesday (EU) and a short one yesterday (also EU) but currently everything works fine.

    You can check current status and history at https://www.photonengine.com/status and status updates at https://twitter.com/exitgames

    Thanks, I see what happened, now everything is normal.

  • Hello guys, I have a problem... When I go to the photon website to download te Construct 2 Plugin, I can't find the download.

    There is only the Doc and the API doc section. ThePhotons Can you help me?

    Hi,

    Download is fixed.

    Sorry for inconvenience.

  • is there going to be a Construct3 plugin?

  • kingpirux Photon SDK package contains both Construct 2 and Construct 3 plugin versions.

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