ThePhotons's Recent Forum Activity

  • First, even non-coders should understand how Photon works. All about lobbies, rooms and players. See http://doc.photonengine.com/en/realtime ... uick-start and other documentation.

    Plugin simply exposes most of Photon features in C2 editor. Two demos available for plugin show how to use these features.

    Sorry, we don't have tutorial for Photon plugin currently.

  • Realistically, with the free acount, what kind of games can it handle with how many rooms, peers? From the numbers shown on the website I think I can only use it for a turn based game with maximum of 20 peers/day. Someone experienced can confirm or deny?

    Free account is limited to 20 ccu. Ccu (concurrent users) means number of clients connected simultaneously (peers). There are no other "per day" or room count limitations. In theory you can have hundreds of users playing in turn.

  • Hi,

    No. Currently only methods for connecting to Photon cloud exposed in plugin.

  • From client perspective, there is almost no difference between cloud and server aside connection workflow. I theory you can use same app with server and cloud.

    Plugin may require some adjustments to work with Photon Server. We did not test it because server is advanced topic and we hardly find many Construct2 users who want invest in server development. So cloud is our priority. Chat can be implemented easily with plugin and Photon cloud.

    If you want try server, download Photon js client sdk https://www.photonengine.com/Download/P ... -0-0-2.zip (or other sdk of your choice) and connect to local master server instead of cloud's nameserver

  • Press Subscribe button and you will see possible options.

  • First screenshot is Photon Server licenses with server-side CCU's. Such license is not required in case you use Photon cloud.

    Second one is Photon cloud application free usage plan with CCU = 20.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You should implement chat yourself using Photon events. Send messages as event data.

  • You should set max players before "Create room" call.

  • Does anyone face next issue?

    Local run works great, but when I compile html or NW versions, photon commands stop working at all.

    Do other non-Photon websocket apps work in NW for you? Please test to make sure that this is Photon issue.

    Maybe firewall settings?

  • unfortunately for me, I got these errors when I tried the demo-pool

    The connection to ws://ns.exitgames.com:9093/ was interrupted while the page was loading.[/code:165qyopx]edit:
    never mind me, I changed the protocol to wss and it worked
    

    Both ws and wss should work. Maybe you tried to connect during temporal server outage.

    We are suspecting some issues on Websocket servers and working on them.

  • For example, I wanna use RoomPlayerCount, but it ask me a parameter and I can´t find what it is. I search in the javascript API, but didn´t find.

    Construct 2 shows tips on parameters when edited.

    For "RoomPlayerCount" it should be like "Count of player currently in room." and "Room name." for it's "Name" parameter (all tips are in edittime.js of plugin). You need put name of room which count of player you are interested in.

    Note that this method make sense only when client is in lobby. For count of players in currently joined room, use ActorCount.

  • The link I posted is a tutorial of "Exporting desktop apps with NW.js". NW.js is another exporting option like html5.

    Sorry, I was not aware that Scirra export doc is inside.

    Then it worth checking of course

ThePhotons's avatar

ThePhotons

Member since 13 Feb, 2015

Twitter
ThePhotons has 7 followers

Connect with ThePhotons