ThePhotons's Forum Posts

  • ThePhotons does this plugin working on NW.js and Cocoon.io Canvas+ ?

    Do you have any problems with this? It should work.

  • Hello #ThePhotons,

    I am happy to use this plugin.

    I have one of kind enemy named enemy01, spawn randomly every 3 to 5 second, in 1 minute I have about 20 enemy01, some enemy01 already destoyed outside screen.

    My question is how to create sync for peer for enemy01 position and angle for realtime?, include their existence begin their already created from host side and after peer get login?

    Could you give me some simple example for ease my experiment.

    Thanks.

    Photon allows you to broadcast messages in a room.

    To create or destroy object, send messages stating that. Other clients in the room should create or destroy objects accordingly.

    To synchronize positions, periodically send position updates. On other clients, set position as message received and Interpolate positions between messages.

    The most similar sample is demo-pool. It sends not current but target position which used by fish instances on all clients to move to.

  • As you may know Construct 3 beta will be released soon, and I was just wondering if you're planning to make a version of your plugin available for Construct 3?

    I do not see the reason why we can't support it. Depending on required changes it may take more or less time.

    Let's wait C3 release first. Then we can tell more specially.

  • New plugin version available: https://www.photonengine.com/Download/P ... -0-0-6.zip

    • stats access has been fixed (reported by

      Portvayne)

    new regions kr' and 'in' added

    region dropdown list issues eliminated

  • ---------------------------
    Construct 2 Check failure
    ---------------------------
    Check failure!  This is probably a bug:
    
    Could not find object's combo property index
    ...
    [/code:1q38q0u3]
    
    It's easily reproducible. Create a new project >> add photon >> try to run the demo and you get the error
    ...
    
    

    Please choose correct value in Region combo in Photon object properties after adding the object.

    We will fix this in next release.

  • Hi Sebastien,

    ...

    I take this opportunity to ask you a final question, on the Photon Dashboard, with a CCU Free Plan (3 BG included bandwith per CCU and month), we can see a monitoring of the consumption for the last 24 hours. Is it obliged to maintain in free plans a vision so reduced in time and concerning only the last entries?

    ...

    Can you please send this question to ?

    Then other guys who can help with dashboard will read and answer.

  • Hi Sebastien

    Since most of Photon features are implemented in C2 plugin, we are focused more on bug fixes and minor updates like new regions addition. Please feel free to report bugs with reproduction details or simple project sample. It's not clear from your message whether cache functions work for you as they supposed to do or not. If something is already reported but still not fixed, please report it again.

    We do not plan to do more examples or tutorials at the moment. We have enough of this for other SDKs which can help to understand Photon usage common practices applicable to any SDK including Scirra C2.

  • By ping I meant sending message to master which replies immediately with another message containing its local time.

  • I'm getting this error:

    ---------------------------

    Construct 2 Check failure

    ---------------------------

    Check failure! This is probably a bug:

    Could not find object's combo property index

    Condition: index >= 0

    File: Projects\ObjectInstance.cpp

    Line: 704

    Function: class cr::pod<class std::vector<struct era::InstanceProperty,class std::allocator<struct era::InstanceProperty> > > __cdecl ObjectInstanceERACallback::GetProperties(void) const

    Build: release 231 (64-bit) checked

    Component: Construct 2 IDE

    (Last Win32 error: 0)

    ...

    I do not see anything plugin related here. Have you reported a bug to Construct 2 developers?

    If you believe that this is plugin bug, please send us simple projects which reproduces it.

  • Other client joined same room should update property to fire these conditions.

    See demo-test Test button handler.

    Note that in this demo "On ... change" conditions wrongly iterate properties with indices 0 and -1 if number of properties is 0. Check for 0 required before iteration.

  • Photon Javascript SDK and Scirra plugin do not provide server time feature.

    You can implement something similar by pinging master client, measuring round trip time to master and adding half of this rtt to local time returned by master. Between such updates, increase the value according to local time change. The result should be synchronous on all clients even if pings are different.

  • When something wrong happens, please see log in browser console to find more info on error.

    We finally fixed this nasty typo in demo project. The package updated,

  • Do I need to register to download?

    I registered to download but I do not receive the password

    Yes, you need to be logged into photonengine.com to download.

    Contact support via developer(at)photonengine.com to get help with registration.

  • I can't even install the plug-in. I have the newest version of C2 and yet I can't drag and drop the C2Addon files.

    Does other plugins work for you?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Does one player still needs to be the host? Or can this plugin be like a constant host who is always available?

    .

    Photon client connects to a server and uses it for room matchmaking and sending events to other clients.. It's common to run game logic on one of the clients. But others never connect to it directly.

    As far as I know multiplayer plugin is integrated in Construct2 more tightly. Photon plugin knows nothing about Construct2 objects and simply exchanges with events.