Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mutiplayer over the web #414

Open
ericmaster opened this issue Nov 30, 2021 · 1 comment
Open

Mutiplayer over the web #414

ericmaster opened this issue Nov 30, 2021 · 1 comment

Comments

@ericmaster
Copy link

This is a great project. Probably a long shot but I was wondering if some multiplayer over the web could be added. I would really love to host a game session I can play with family and friends living abroad and I can just tell them to open the browser.

@allowing
Copy link

allowing commented Nov 7, 2022

我试过传输图像和声音到另一台设备,是可以实现两台设备一起玩的。我实现过程中,尽量减少图像帧数,和声音的大小,以保证数据尽量小。我把声音转码成mp3,因为mp3的压缩率比较高。但是整体的数据量还是很大,通过websocket中转,还是不太现实,支持不了几个玩家。

谷歌翻译:
I have tried transferring images and sound to another device, and it is possible to play with both devices. During my implementation, I try to reduce the number of image frames and the size of the sound to keep the data as small as possible. I transcoded the sound to mp3 because mp3 has a higher compression rate. However, the overall amount of data is still very large, and it is not realistic to transfer through websocket, and it cannot support a few players.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants