zquify's Recent Forum Activity

  • Sorry if this is a little late, but Target Actor references the Actor Number of the user. Each connected user is assigned an Actor Number, with the first player being "1" second being "2" etc.

    Out of curiosity, what are you using Target Actor for?

  • Try Construct 3

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

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

    I'd do this at a very low value (like 0.05) but also send "simulate control" events to the other clients. That way, even if the movement is a bit off, it will compensate for that.

    "Left Arrow is down" then send Event 1 with "Left"

    "Right Arrow is down" then send Event 1 with "Right"

    "Up Arrow is pressed" then send Event 1 with "Up"

    On Event 1

    >Photon.EventData = "Left" then Simulate Control "Left"

    >Photon.EventData = "Right" then Simulate Control "Right"

    >Photon.EventData = "Up" then Simulate Control "Jump"

    Every tick lerp Player.Position to Player.NewPosition

zquify's avatar

zquify

Member since 2 Nov, 2021

None one is following zquify yet!

Trophy Case

  • 2-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

5/44
How to earn trophies