MrStahlfelge / lightblocks

Falling Lightblocks. Falling block game for Android (Mobile and TV), iOS, Web browsers. Works on desktops, too.
https://www.golfgl.de/lightblocks/
Other
140 stars 15 forks source link

[BETA Multiplayer] Focus on our device-game move, do not sync our moves from server #34

Closed Yonle closed 3 years ago

Yonle commented 3 years ago

When syncing our game moves from server to client, It would be slow for medium+ping user because we can't play with our speed anymore. So how about make the server broadcast our game moves while we're focusing our game speed?

( Well, Sorry for some english mistake lol )

MrStahlfelge commented 3 years ago

What is your ping? I found that a ping of up to 50ms is acceptable to play with

Yonle commented 3 years ago

Atleast 200 MS+, Which is slow. In fact it would better to not sync player move from server.

MrStahlfelge commented 3 years ago

Syncing the movements to the player is the new feature. This prevents frauds and gives new opportunities how the server can control the whole game. The downside is that this needs a fast connection to the server, faster than 50 ms. If you want to play with a friend of yours, best is to set up an own server locally as described here. It's more easy than you probably think! :)