[Plugin] Photon Cloud

  • Hi.

    What is the difference between using photon and the C2 plugin?

    I know the limitations of the free photon account but are there differences in the connection?

    Is the connection using photon better?

  • c2 plugin server is on your side or you have to set up your own server

    photon has their own server

  • c2 plugin server is on your side or you have to set up your own server

    photon has their own server

    Photon has its own server but it is not a dedicated server.

    I want to say that one of the players will have and also execute the code that a dedicated server should execute.

    Therefore it is not a dedicated server.

    So it looks the same as the C2 plugin.

    That's what I believe right now.

  • the Mnk Photon is a advanced relay networking plugin so it does behave the same way as the normal MP plugin behaves in the sense that it's Peer to peer the only difference is photon uses WebSocket,Has packet culling(You can filter out data so you don't get hit by C2s multiplayer plugin limit of 100 players due to it sending data about everyone even if that data doesn't need to be sent) and since it doesn't use Webrtc like the default multiplayer plugin your audience reach is much higher.And yes photon is hosted on dedicated servers but the way it transmits data isn't in a Server client architecture you shouldn't confuse the two completely separate things

  • ThePhotons How can i make a kill counts after my bullet colliding an object without adding a kill count to another players? because i got stucked on this problem that the another players also get the kill counts

  • Hi.

    What is the difference between using photon and the C2 plugin?

    I know the limitations of the free photon account but are there differences in the connection?

    Is the connection using photon better?

    You can check the differences between c2 official plugin and photon plugin here, with the explaination

    https://www.scirra.com/tutorials/9431/f ... hoton#h2a4

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • ThePhotons How can i make a kill counts after my bullet colliding an object without adding a kill count to another players? because i got stucked on this problem that the another players also get the kill counts

    How do you add kill count?

    Using player properties looks like the simplest option if you need to synchronize count across network.

  • > ThePhotons How can i make a kill counts after my bullet colliding an object without adding a kill count to another players? because i got stucked on this problem that the another players also get the kill counts

    >

    How do you add kill count?

    Using player properties looks like the simplest option if you need to synchronize count across network.

    Yes but sometimes it doesnt added when i killed another player..

  • Hi.

    Please I do not understand well ... what is the difference between photon.ActorNr and photon.MyActorNr?

  • Yes but sometimes it doesnt added when i killed another player..

    Synchronizing player properties over network does not happen immediately. Make sure that you update player property successively from the same client: property owner or master client. This prevents from concurrent writes when 2nd client increments the value not seeing that it's already incremented by 1st client.

    Trace your code with logs to see how kill count changes.

  • Hi.

    Please I do not understand well ... what is the difference between photon.ActorNr and photon.MyActorNr?

    Hi,

    Each player in a room uniquely identified by a number assigned during joining a room.

    photon.MyActorNr is the number assigned to the local player.

    photon.ActorNr is the number of the player last "per client" condition like "On actor join" or "On event" was triggered for.

  • Thanks for the info.

    Can I have another question? I have not seen any information about this.

    If I put in every tick a raise event, then photon will be sending each frame a raise event ?, does not it have a limit of maximum 30 raise event per second like the multiplayer official object?

  • the Mnk No you're in full control of the frequency

  • Thanks for the information guys.

  • Hello

    How to control the loss of packages ?.

    Sometimes I press a key but the pulsation is not executed due (supposedly) to the loss of packages.

    How do I make all the beats executed?

    Is there any way to improve this?

    I press the Z key and an event is sent (event 1) to the server, the server sends it to all the players (event 2) but, sometimes, some players do not receive it.

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