Coder Social home page Coder Social logo

Raise kMaxPlayers about avara HOT 2 CLOSED

avaraline avatar avaraline commented on July 23, 2024
Raise kMaxPlayers

from avara.

Comments (2)

rherriman avatar rherriman commented on July 23, 2024

Other notes I want to make about the complications of raising kMaxPlayers: doing so may mean adding additional "teams" and team colors as well, or possibly even completely changing how teams and colors work. (Like allowing players to completely customize their color, assuming FFA by default, but having to assign teams via some new UI mechanism.)

Also, a lot of levels are going to only have 6 incarnators, and so we might want to figure out a way to "queue" the additional players into joining later.

from avara.

assertivist avatar assertivist commented on July 23, 2024

#101 closes this--turns out raising the limit is easy, we may run into issues in practice.

As @tra has mentioned, Avara makes players * (players - 1) connections between all the clients, and 56 connections is a lot of places to go wrong.

To go any higher we will probably need to consider using the server packet routing method. I'm concerned that with the latency that adds, lockstep itself may become untenable. And changing lockstep to something else will be vastly complex, a little beyond the scope of what we're able to do realistically. There's still experiments to be done there, though.

At least we were able to add another two players, and with reasonable broadband or LAN connections, 8 players should work. We may even want to make a LAN or arcade/Avara appliance mode for the build that lets you go higher.

As for internet play, going any farther than 8 might be a goal for a fork or sequel. In any case it would be a major refactor.

from avara.

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.