0
\$\begingroup\$

I already done game template for classic platformer. I use matter.js for physics and my own override draw functions. Everything works fine. Next stage is to make it multiplayer.

I interest is it good to send user input (force vector) only when play act with keyboard/mouse (apply force on remote gameplay) or to send on every change (for example) absolute x,y and then use set position method.

  • GamePLay is fully scaleable (In any resolution same diametric transformation).
  • webRTC look like best solution for communication in fly.

I worry about collisions moments.

Any suggest for this question ?

\$\endgroup\$
4