alessiopi's Forum Posts

  • 9 posts
  • wow man you saved me, I've been looking for a solution for days and days😲 thanks.(it works well btw)

  • hey eleanorjmorel, i know, i said i would leave construct, but i couldn't get this problem out of my head, do you really know how to do lag interpolation on contruct?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • if you were wondering why I haven't answered you yet, it's because construct is taking ages to approve my message, anyway I have decided to change engine so no problems

  • I was thinking of the lag interpolation, that is to mask the packets of lost data with a lerp between the old position and the new one,I tried to implement it in my game, but I think I’m making holes in the water, if this can be helpfull here is the capx: mega.nz/file/KxVW2aJI

    anyway, i was thinking to change engine for this problem

  • like lag interpolation

  • hi guys, does anyone know how to implement movement lag compensation?

  • i was trying to sync the ball in my pong game but something i don't understand is wrong, basically the ball starts vibrating like it's lagging a lot, here the code

    edit:

    I think I’ve figured out what the problem is, is like the ball always goes back in time a few milliseconds, because when I say "at event 2 set the position..." the ball will have already changed position in my local instance, then at the trigger of that event the server will update the position of the ball with an old datum. So basically, how do I synchronize the ball based on the server? I mean, how do I get the server to calculate the direction of the ball?(can it be done with photon?)

    the game if you need it:

    https://mega.nz/file/70sixIjJ#2WGDkSjYb1rS3R6TvxQtrVE6hBcsyn1IJ9DX1Mnm2NM

  • i was trying to sync the ball in my pong game but something i don't understand is wrong, basically the ball starts vibrating like it's lagging a lot, here the code

    the game if you need it:

    mega.nz/file/70sixIjJ

  • Leave room is a signaling action, which will leave the signaling room. This does NOT disconnect the peer from the host in the current connected session.

    Use the disconnect action instead, which will disconnect from the current session, AND leave the signaling room.

    man, you just saved my first project, i was freaking out, thanks

  • 9 posts