[Plugin] Photon Cloud

2 favourites
From the Asset Store
Clouds
$2.99 USD
30 Photoreal clouds from subtle to stormy. Perfect for multiple game genres.
  • Can this plugin work with photon server as well?

  • So far works fine and is easy to use, but it would be cool to access more of API.

  • From the eventList....On room list and On room list update flash in and out from the event picker. I can always select them though

  • Any tutorials available working with this plugin? How does it work compared to Multiplayer?

  • Check the .capx at the beginning of the post. It works on all platforms.

  • ThePhotons

    I am trying to figure out how to set max player in the room. There are expressions like "RoomMaxPlayers" or "RoomIsOpen", but I can't find the actions to set max players or close the room. Also expression "RoomPlayerCount" throws undefined error all the time. Seems like this functionality is not implemented completely.

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

  • The good thing, is that it is easily possible to call photon JS-API methods from C2 js-sdk. Just added "setMaxPlayers" to the plugin.

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

  • Great news!

  • ThePhotons

    thumbs up!

  • 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.

  • 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.

  • 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.

  • Try Construct 3

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

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

  • 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

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