ThePhotons's Forum Posts

  • I could help to design actions/conditions, Or you might post question here.

    Thanks.

    At this point we just need to know which missed plugin parts are most demanded.

  • Plugin updated.

    Added setMyRoomIsVisible, setMyRoomIsOpen, setMyRoomMaxPlayers and other room methods.

    Use them along with setPropertyOfMyRoom before room creation to set parameters for new room.

    Or call them while joined to change parameters of currently joined room.

  • 1) There's a bug, which throws "undefined property" error, when you call expressions "RoomMaxPlayers", "RoomPlayerCount", "RoomIsOpen". I think it refers to something [availableRoomsDict] which is missing in Photon-Javascript_SDK.min.js

    2) SetMaxPlayers and SetRoomClosed/Opened actions

    3) Kick user action

    Fixed.

    Please download and reinstall plugin.

  • ThePhotons

    Is there any hope, that this plugin will be finished? So far I really like it and it works on all devices.

    We will be exposing more and more js sdk functionality in the plugin. Let us know what you need first.

    Sometimes it's not that simple to express some advanced sdk feature in visual editor. And some of them probably will never be implemented.

    It's good to hear that you found the way to use sdk directly. I think this is the only reasonable way to use full-fledged Photon js api.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This works for native android/iOS apps or just html5?

    Why only photon cloud? Photon server doesn't work?

    This is construct 2 plugin. It should works for whatever you export construct 2 app.

    Photon is available for wide range different platforms including native: https://www.exitgames.com/en/Realtime/Download

    To make plugin work with Photon server we need to let user specify server other than default. I hope we'll do it in next updates.

  • There's a parameter "Receivers" in the Raise Event method, where it's possible to address a Master Client. How do I set a Master Client? Is it the first player who joins the room? I also didn't find any expressions, where I can check if player a Master or Non-Master client.

    The Master client is the one who is in the room the longest time. It has lowest actorNr in room. Currently you have to iterate all actors and find lowest actorNr to check if player is master. We will add convinient propery later.

  • Could this possibly support SceneObjects which is in the PhotonCloud API?

    Not sure what you mean. Photon Cloud has no concept of scene or object. Maybe it's PUN terms related to Unity. Photon plugin has nothing to do with PUN or Unity.

  • Sorry for our silence - we've been busy and get back to the questions asked this week.

  • rexrainbow Thanks for code check. I postponed setting constants in AddExpression because this does not has any effect at first sight (do you know any?) and is not reported as error by editor. But agree, if documentation states that id should be unique, better set them properly. Will fix it.

  • Astro DatapawWolf We updated plugin with minification issues resolved (all were for calling Photon lib from minified code). Will test export to mobile platforms soon.

  • Deko thanks for all your work bringing Photon Cloud to C2. We now officially support C2:

    We appreciate feedback and help to drive it further.

  • We now officially support Photon Cloud and Construct 2. Find our plugin here:

    Feedback appreciated.

    enjoy, Chris

  • [EDITED]

    The Photon Plugin allows to develop multiplayer games in Scirra Construct 2/3 with clients communicating

    through Photon Cloud.

    The Photon Chat Plugin adds chat functionality to your game.

    The plugins and demos available as Photon Scirra SDK:

    https://www.photonengine.com/sdks#construct2

    Check readme.txt inside SDK package for installation instructions and usage details.

    Tutorial written by Sirvoid: https://www.scirra.com/tutorials/5023/h ... ith-photon

    Tutorial written by Moerk https://www.scirra.com/tutorials/9431/f ... ith-photon

    This topic summarized by gonzdevour: https://ppt.cc/ftsJxx

  • Hey -

    we are the Exit Games development team and behind the multiplayer technology Photon:Photon is used by more than 92,000 developers (as of Jan 2015) and HTML5 is on the rise. We have full support for Websockets and Javascript. We have finished our C2 plugin and looking forward to get feedback from the community.

    bye, Chris