How do Multiplayer prombles

0 favourites
  • 1 posts
From the Asset Store
The official Scirra Multiplayer Signalling Server for helping peers find and connect to each other
  • hello got new promble agian :C

    first promble

    so everything is work but peer cannot see host angle but host can see peer angle :C

    how i do to fix it ?

    i do this

    sync object peer with position only

    and sync lookatx and lookaty instance varible

    and add inputs lookx and looky

    on client update

    ID = Multiplayer.MyID then

    set lookx as mouse.x and looky as mouse.y

    ID = Multiplayer.MyID Then

    lookatx = mouse.x

    lookaty = mouse.y

    and

    everytick

    peer set angle to x = lookatx and y = lookaty

    is something worng ?

    second promble

    why on peer connected old peer is still ?

    like when connected like peer will double create peer im sure im checked with multiplayer game :C

    i do this

    on connected

    if host set peer.id to multiplayer.myid

    associate object peer with multiplayer.myid

    else destory

    that all can you guy help me plz ? :C

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)