Coder Social home page Coder Social logo

Comments (5)

xiaopeng12138 avatar xiaopeng12138 commented on July 19, 2024

不能(
因为有各种不同的按键hook方式,而且1和2p只能跑在一个机子上面,就算是局域网连接也会有延迟,你要想要远程那就更难了。
延迟算算就知道了,两个玩家都link,20ms延迟,2p需要1p传输画面到机子上面,vd那种收费串流方案都要30ms,我怎么可能写的出来那么低延迟的传输方案,就算写出来了,到第二台机子上面,过一遍link又是+20ms,总共50ms延迟,然后还要把触摸和按键传到1p上面,这又加延迟。
有个办法,基于店内招募联机,但我测不了,因为没有2台电脑进行局域网测试。

from maidxr.

xiaopeng12138 avatar xiaopeng12138 commented on July 19, 2024

在未来加入第三人称视角后会决定人物模型和开发联机的必要性,我就先关掉这个issue了,以后再打开

from maidxr.

xiaopeng12138 avatar xiaopeng12138 commented on July 19, 2024

会在未来考虑加入人物模型

from maidxr.

xiaopeng12138 avatar xiaopeng12138 commented on July 19, 2024

预计在v0.9加入双人联机功能,但需要一方拥有公网ip或者有一个有公网ip的服务器(支持ipv6)

from maidxr.

xiaopeng12138 avatar xiaopeng12138 commented on July 19, 2024

多人联机已经加入,模型问题移动至#31

from maidxr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.