ThePhotons's Recent Forum Activity

  • Does the photon plugin work with a cordova export? Will it work on iOS and android through cordova?

    e did not test this yet. Did you? It should work in theory as any other javascript app.

  • Tried today to see if it's working and... surprise! NW.js export works flawlessly with Photon plugin. Nice!

    es, server was updated recently with fixed version. We are still working on couple of websocket issues which may arise on some clients.

  • How websocket processed and how frequently javascript gets called in background depends on platform which you use. Photon lib can't do much with it. For instance, as far as I know, browsers in background decrease javascript call rate to 1 per sec. That still allows to keep connection to the server but not enough to run game logic as master client. I guess master client should disconnect by itself when app goes to background.

    Photon supports self-hosted servers. But you can't connect to such servers with plugin currently. I think we will add self-hosted support in course of time.

  • Has anyone already tried to export a multiplayer game based on the photon plugin as ios-app and confirmed it works on ios?

    Did you search the topic for 'ios' keyword?

  • Sorry. NW.JS is not fixed yet. I hope server guys will have a time for the issue soon.

  • We will support C2 long term :].

  • Fish sample is all we have for Photon Construct 2 plugin currently.

    Before starting development, it would be good to get an idea how Photon Networking works in general. You may find this information on doc.photonengine.com .

  • The NW.js issue is still open. Sorry. Our server team was super busy last days. Just started processing the task.

  • What is special about platformer? The plugin simply broadcast messages (e.g. with character positions) to all other clients in the room. Using this simple thing, you can keep in sync clients for any genre.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for suggestions.

    We are working on (server side) NW.js issue now.

    We don't have enough time to expose all js sdk features in plugin and it'a not clear what is most demanded currently. Basics should be enough for most simple games. Note also that some features probably will never be in plugin since it's hard to express them in terms of visual editor.

    The plugin already has short notes on functions and parameters as any other Construct 2 plugin does. You can find more details in js sdk documentation https://doc-api.photonengine.com/en/javascript/current/ considering that all plugin functions based on sdk methods.

  • Thanks for the reply ThePhotons , any idea on how diligently you guys are working on updates for the plugin?

    What exactly you are waiting update for? We are not planning updates currently.

  • Hi,

    #1 Browsers run javascript only once per sec while page is in background or minimized. I don't know if Construct 2 or browsers support handling of these events. If not, you may try detect them by measuring time between calls. After going to bg detected, you may send notification to other players or leave the room.

    #2 Most likely exported binary does not contain WebSocket object required for plugin. Several different websocket modules available for nodejs but they do not expose WebSocket objects in global namespace like browsers do. Probably some sort of adapter required. It's not clear currently how to integrate nodejs, websocket and Construct 2 plugin.

ThePhotons's avatar

ThePhotons

Member since 13 Feb, 2015

Twitter
ThePhotons has 7 followers

Connect with ThePhotons