xoros's Forum Posts

  • I built it similar to the multiplayer shooter example and it almost works, except of those issues which I mentioned above. Paddles are peers, bullet physics is calculated in the host, peer displays only position change which is broadcasted from the host.

  • I really like the new multiplayer plugin and find it user friendly and intuitive to use. Oversimplifying such functionality is not a good idea.

  • Unfortunately disabling all behaviors on the peer's side didn't help.

    Sometimes the ball doesn't reflect from the paddle or goes through the paddle on the peer's side (like at the moment when the paddle is being moved). I do understand why: the trajectory which was calculated on the host is not 100% in sync with paddle position on the peer side.

    I also tried disabling this on the peer side: getbit(Peer.inputs,0)=1 > Peer Simulate 8Direction pressing UP. Which mean the paddle is being moved only by position syncing from the host. In this case everything is displayed correctly, but movement happens with delay.

  • Ok, I'll try that.

  • May be I shouldn't use a bullet behavior on the ball, but calculate reflection angle as a synced variable and animate the ball's position manually? Something like lasers are implemented in the multiplayer example?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello fellas,

    following question: what is the best way to implement/synchronize the ball in the pong using C2 multiplayer plugin.

    The ball has bullet physics reflecting from solids. Normally on the host everything is displayed correctly, but on the peer sometimes the ball behaves not as expected, I think it's because of position syncing from the host. So the problem here, that the same ball is shared by host and peers and should be synchronized from both sides. Any ideas?

  • Construct 2 is a messiah of game development. It's main strength is an event editor, which is joy to work with - it's reflecting the way I'm thinking in terms of program logic. This editor brings together the best components of visual and traditional coding and I will not call it a visual editor, it's visually aided. There's nothing comparable on the market. Sure it would be good, if it could export to native, but I'm totally fine with HTML5.

  • Sounds good.

  • Hello there,

    Ashley

    Just read the half of MP-Tutorial. The following question arises:

    Will it be possible to use own signalling server? Do you guys give access to your signalling server sources, so it could be run on the own server? What server technology do you use? May be node.js?

  • Bookmarking doesn't work. I'm also getting the 404 Error.

  • Tom

    Currently something is seriously wrong with the layout. I think it's kind of liquid layout, and on my second 3:4 monitor all the elements are displaced (in forum home and sub-categories).

  • Ah, thanks. Now I leveled up my "picking" knowledge!

    That's powerful: PickByEvaluate: (Object.Name<>"Red") & (Object.Name<>"Blue") & (Object.Name<>"Green")

    The operator <> is listed in the manual, but it's not described as "not equal". And this notation is not very obvious.

  • Oh, that's nice.

    But, in the pickByEvaluate it's not possible to use "not equal" !=

  • This will of course work, but if you have more complex picking conditions, involving another comparisons, this "or-blocks" start to get very messy and under some circumstances doesn't work.

    And you can save lots of space, if it would be possible to pick by comparing strings expressions.

  • Hello there,

    Ashley

    Just noticed, that it's not possible to compare strings in the "Pick by comparison". Why not? It would be so handy to write something like this:

    Pick Objects

    Object.Name

    =! Not equal

    "Red" | "Green" | Blue