xoros's Forum Posts

  • Ashley

    Offset for path-finding grid would be very helpful, especially for board games.

  • rexrainbow

    Is it possible to use this behavior without any dependencies, just using the grid of sprites as board and avoiding solids?

  • even better!

  • UnixTimeStamp - that will be handy. Now it will be easy to make all types of waiting mechanics even if the game is not running.

  • Wow! I was trying to achieve this kind of behaviour with events, but now you created this great plugin.

  • Played around with it a bit, it feels better/funnier than original box2d. Looking forward to it.

  • Yes, I think it's TURN server configuration issue. I changed the listening port to 80 and it started to log connection attempts, which unfortunately fail.

  • Ashley

    So, I'm trying to add a TURN server with new credentials options, but with no success. May be I'm doing something wrong, but it's like working with a black box. I installed the TURN server according to the tutorial and it's running. I added it before "Connect to signalling server", but TURN server does not log anything. I also tried to add it after on signalling connected. Could you please provide some information how to properly use it in Construct 2?

  • Ashley - Thank you!

  • Tobye - sure, now I have to figure out how to properly add a TURN surver to C2 multiplayer. Currently my TURN server doesn't log anything by using this "turn:my_username@<turn_server_ip_address>,credential:my_password"

  • Ashley

    Is it right to add a TURN server in C2 like this:

    js - {"url":"turn:my_username@<turn_server_ip_address>", "credential":"my_password"}]};

    C2 - "turn:my_username@<turn_server_ip_address>,credential:my_password"

    E.g. In multiplayer example where should the TURN server be added, before on signalling connected or after, or may be somwhere else?

  • Ashley

    I installed the turn server and it's running, but in order to connect to it I have to specify username and password (credential). I can't find the way to do it in C2 events. There's only Add ICE server command. Can I add username and password to the "Add ICE server" string somehow?

    I tried something like this, but it doesn't work: "turn:test@<11.22.33.44>, credential:test"

    So far I found this:

    In your Javascript code where the RTCPeerConnection is created, reference the TURN server as follows:

    var pc_config = {"iceServers": [{"url": "stun:stun.l.google.com:19302"}, {"url":"turn:my_username@", "credential":"my_password"}]};

    pc_new = new webkitRTCPeerConnection(pc_config);

    Another question is, where should "Add ICE server" be useded: before On signalling connected or after

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Good, bandwidth is not a problem.

  • Ashley

    Noob questions:

    Here https://code.google.com/p/rfc5766-turn-server/ I found an open source STUN server by google:

    https://code.google.com/p/rfc5766-turn-server/

    If I set it up and connect with "Add ICE Server", will it work together with Multiplayer Plugin?

    There's also a public STUN server provided by google: stun.l.google.com:19302

  • Thanks for the reply, I will try to setup a TURN server - hopefully it will help.