Coder Social home page Coder Social logo

Comments (4)

emoose avatar emoose commented on June 25, 2024

I think mostly everything from ED is ported now, besides the HTML5 stuff. Don't think we want to port that from ED though since it's a sorta hacky overlay, DR should try and build it in natively into the game if possible.

from dewrecode.

Shockfire avatar Shockfire commented on June 25, 2024

If/when we add HTML5 stuff back into DR, I'd also like to look into creating proper JS bindings for interacting with the game. We should not be abusing RCON for this, because it doesn't let us run multiple instances of the game, it leads to us creating a bunch of extremely low-level/useless commands (a command for checking if the game is loading...seriously?), and it also just isn't flexible in general (there's no way to use it to respond to events unless you do polling, which is just ugly). We can also get rid of the websocket crap then if we do this.

from dewrecode.

dark-c0de avatar dark-c0de commented on June 25, 2024

The websockets rcon was build for a realtime event system to communicate with browsers.

We should be sending game events over the websockets so that browsers can pick on and handle them accordingly.

Match Start, Join Lobby, Player Talk, etc, are all kinds of events that can be sent by the game in realtime over websockets to the browser. There's no reason for the browser to ever need to "pull" at a set timeout.

from dewrecode.

kiwidoggie avatar kiwidoggie commented on June 25, 2024

I agree with @ElDewritoDev on this. The current poc testing base does this, all without abusing RCON nor having a bunch of leftover networking socket's that aren't being used.

from dewrecode.

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.