Git Product home page Git Product logo

Comments (8)

Triang3l avatar Triang3l commented on July 2, 2024

Hi!

I'm happy that you like the project! Yes, it's rewritten from scratch for more control over the code.

While hosting the port on Chrome Web Store may be good for easier access, it's likely illegal (the license agreement prohibits redistributing even the demo files - Mozilla's Doom on the Web was shut down by Bethesda), and would create fragmentation if I release updates.

No, I haven't done any work with QuakeWorld, and I don't have any plans to. It doesn't support single player game.

from webquake.

Triang3l avatar Triang3l commented on July 2, 2024

Also, there are game-breaking issues with the release: you can't start new game (the button does nothing), load/save doesn't work, and the game is launched into E1M1 instead of the demos.

Please fix or remove it.

I could fix it by myself, but I don't want to do this for legal reasons.

from webquake.

Triang3l avatar Triang3l commented on July 2, 2024

Also, Google Analytics is not what I really want to see in any distribution of WebQuake, sorry.

from webquake.

kzahel avatar kzahel commented on July 2, 2024

Dang I didn't realize about the licenses!
I assume it would be OK as a total conversion, not using any original id1 assets... but then that would ruin the point.

Sorry about breaking many features... I will try and make the rest of the functionality work, and also remove the google analytics.

It's really dumb that I had to change all the synchronous resource requests to async... it was a huge pain in the ass and it has lots of obscure side effects that break things

from webquake.

kzahel avatar kzahel commented on July 2, 2024

"I will see about having the license changed on the shareware episode of
quake to allow it to be duplicated more freely (for linux distributions, for
example), but I can't give a timeframe for it. You can still download one of
the original quake demos and use that data with the code, but there are
restrictions on the redistribution of the demo data."

https://github.com/id-Software/Quake

Damn.

from webquake.

Triang3l avatar Triang3l commented on July 2, 2024

Yes, using async IO breaks the Quake state machine entirely. I had to do whole-client-subsystem hacks to add WebSocket connection support.

from webquake.

kzahel avatar kzahel commented on July 2, 2024

I'd be interested in knowing what you had to change in the state machine to have it work.

I made a bunch of fixes to make it work more like vanilla quake; loading demos on start, new game working, settings saving, and entering shareware mode. Also I removed the google analytics.

I also mailed asking about permission to redistribute the shareware files but haven't gotten any response.

I love your code, it's so awesome.

Somebody asked about gamepad support, I'm going to go find my gamepad and see if I can't get that to work...

Also out of curiosity, why do you use setInterval instead of requestAnimationFrame?

from webquake.

Triang3l avatar Triang3l commented on July 2, 2024

Thanks for loving my code.

I had to change the Host.Frame function directly in a hacky way (by adding a global variable that makes only console drawing called in the current frame when set), and I
throw an exception to stop execution of the current frame when starting a
connection attempt.

I had an idea: split functions that load files into callbacks and save
local variables when loading files, but it seems to be an awful mess, and
IE apparently supports overrideMimeType of XMLHttpRequest now.

I tried to connect the X360 gamepad and an old DirectInput gamepad, neither
worked with Chrome and Firefox.

setInterval is used so that multiplayer packets are processed when the tab
is inactive.

from webquake.

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.