ThePhotons's Recent Forum Activity

  • Hi guys,

    I am developing a multiplayer game using last release of photon plugin 4.0.0.6.

    the html5 version works perfectly on my site [you can try it here http://shoteam.altervista.org/mpBottle045/], but when i try to upload it for hosting on scirra arcade or kongregate Platform, the multiplayer functions does not work.

    any ideas?

    thx

    Hi,

    Can you please explain what "does not work" mean? Any errors, logs, other helpful info?

    Do applications w/o Photon plugin work for you?

  • Why photon Chat cannot be used if I use minified script when exporting from Construct 2 to HTML5 Browser and NW.js ?

    I updated Scirra SDK package. Minified export should work for chat applications.

    Please do more detailed report next time. What does not work exactly and which errors do you have

  • Thanks for explanation.

    Christmas Please read Photon Chat intro: https://doc.photonengine.com/en-us/chat ... chat-intro

    It describes how chat works and is applicable to for any Photon Chat SDK including Scirra.

  • cubits12x

    Is your application type "realtime"? Can you try another app id?

    If nothing helps, please send you app id with short problem description to developer@photonengine.com

  • cubits12x

    Did you set AppId parameter in Photon object properties?

  • Hi RetroSpock

    On your question about documentation: http://forum.photonengine.com/discussio ... t-2#latest

  • bvandenborght Thank you for detailed clarification.

    A few notes:

    mostafanastary You should choose for host not random player but master player ('MasterActorNr' expression) which assigned by Photon automatically at game start and when current master leaves. Design game logic so that new master player can continue running the game after old one has gone. E.g. you can store game state on each client but update it only on master.

    [quote:52gofpzx]what about with Photon server and your plugin

    You need only choose "Self Hosted" in HostType dropdown menu in Photon setting and set server address. Everything else should work exactly as in cloud.

  • Would it be possible to get server clock time with a ping to compensate the distance so that actions can be tracked in order to know who shot first, and to implement lag compensation by being able to calculate when an input was sent with precision to resolve inputs more accurately ThePhotons

    Currently server time and ping are not available in Photon js sdk and C2 plugin. You can measure ping by sending packets with timestamps to the client itself (set TargetActors to str(Photon.MyActorNr) in "Raise event")

  • Hello,

    I tried your Multi Photon Tutorial and ended up with some issues

    ...

    Hi,

    What tutorial did you try? Can you post a link? We did not publish tutorials for Photon C2 plugin.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

ThePhotons's avatar

ThePhotons

Member since 13 Feb, 2015

Twitter
ThePhotons has 7 followers

Connect with ThePhotons