hchiam / trysterollup

trysterollup - make serverless multiplayer web games, with the Gamepad API, plus WebRTC via trystero, rolled up in a convenience wrapper game controller
MIT License
2 stars 0 forks source link

sync with host being source of truth #9

Open hchiam opened 3 weeks ago

hchiam commented 3 weeks ago

look into this after finishing #5

always send data and only update everyone else if you're the host (instead of setting some physics or sync param in update())

likely need a game loop?

hchiam commented 3 weeks ago

6

hchiam commented 3 weeks ago

5

hchiam commented 3 weeks ago

use isHost