GithubHelp home page GithubHelp logo

btarg / xash3d-emscripten Goto Github PK

View Code? Open in Web Editor NEW
115.0 7.0 96.0 955.63 MB

A re-upload of mittorn's Emscripten port of Xash3D.

Home Page: https://icrazyblaze.github.io/Xash3D-Emscripten/

JavaScript 16.60% HTML 83.40%
game-engine game half-life emscripten javascript js firefox

xash3d-emscripten's Introduction

Xash3D-Emscripten

forthebadge forthebadge forthebadge forthebadge

A re-upload of mittorn's Emscripten port of the Xash3D engine, that can run Half-Life: Uplink, Half-Life: Deathmatch, Half-Life: Day One and the Hazard Course right off the bat, within your web browser.

And now you can fork the code and make your own changes, without the hassle of downloading all the files using wget!

Requirements / recommended specs

This app runs best in Mozilla Firefox.

Half-Life recommended specs:

  • CPU SPEED: 250 MHz or higher
  • RAM: 512 MB or more
  • OS: Windows 7 or higher
  • GRAPHICS CARD: 32 MB+ video card

(Keep in mind that these are NOT the game's actual minimum specs, they are just what is required to run the game in Firefox 57 and higher. You can run the game in older ESR releases, but Firefox Quantum is recommended for performance.)

Changes in the re-upload

  • Cleaned up UI (Added separators, options title, loading spinner and glow effects)
  • Removed unused/test files
  • Completely revamped "intro" page (memory selection screen)
  • Added 404 page, favicon and README
  • Fixed typo for Hazard Course title

Screenshots

Hazard Course 1 Hazard Course 2 Half-Life gameplay

xash3d-emscripten's People

Contributors

btarg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

xash3d-emscripten's Issues

controls

I'm not sure if this is an issue with uploading or not but I've been trying to upload this to replit (I was planning on using Heroku later on, just wanted to test), but then I realized, even when using the normal website, I can't seem to get into the game because neither enter or pressing easy with the mouse works for getting into it. However, I can click other things such as cancel and other settings but Hazard Course also doesn't work when I try and get into it. Is this because it takes a long time to load or am I doing it wrong?

Mobile support

Can you please add mobile support? Not much else. Just a feature
Request. You can use it on mobile but you need a Bluetooth keyboard and optionally mouse. Also you can't use touch screen. The image or video of the game is selectable. I can't interact with it and iOS keeps selecting it.

websocket proxy and https

Browsers have restriction that does not allow https sites to access ws:// servers
Is it possible to downgrade security to http? maybe some iframe trick will allow that? Do you have any idea?
wss:// is really big overhead for server (slow handshake, frame encryption) and i will not be able to get certificate for the-swank's domain. wss:// does not work with self-signed certificates: browsers just do not show confirmation dialog for it

How are new mods compiled?

I'm working on a project that implements the work done here, and I can't figure out how the mod .js files are compiled? Any information on the process involved would be appreciated.

Gmod?

Is it possible to have Gmod (like the first versions) on a zip archive that you can play?

network issues

i play it, is very well made, tho i can only play offline not online can you help me?

Can't make a fork work?

Maybe I'm just dumb and doing something wrong. I have a fork and I cloned it to my pc, but I can't make it work locally.
Could not read source map for file:///C:/Benaj/Desktop/Floov/Floov-test/browserfs.min.js: ENOENT: no such file or directory

It is not the-swank's port

The_Swank is only hosting server for me:
http://mittorn.the-swank.pp.ua/xash-em/
I am port author, you may ensure it by viewing commits in engine source code. So please, fix readme
Source code is here:
https://github.com/FWGS/xash3d
https://github.com/FWGS/mainui_cpp
https://github.com/FWGS/emscripten
https://github.com/FWGS/emscripten-fastcomp
https://github.com/FWGS/hlsdk-xash3d
https://github.com/FWGS/wsproxy
Build instructions:
https://github.com/FWGS/xash3d/blob/master/ports/README.emscripten.md
If you want to host server with multiplayer support on https, you need to add wss:// support to wsproxy and run it with server's certificate
It was removed because https connection gives big overhead when creating too many connections (for example, scanning for internet servers).
Also, i updated server recently (all except html pages), you may update repo too.
gzip files is not needed, it is busybox httpd feature: it uses precompressed gzip files when browser supports it. other http servers have own gzip cache

Is it possible to play half life mods?

I understand uploading the game and then using "-game (game name)" would load it, but the issue is that this doesn't load the game properly, the maps and audio exists and thats about it (except for 1 flashback animation from cry of fear). And I was wondering, how do I get npc's loaded?

request

Not rlly an issue but i was wondering if you could be able to get the multiplayer working.

game freezes, coding error

I get this spammed in the console hundreds of times a second after only a few mins of playing
[00:17:08] server(ai): Unhandled Ent in Path func_pushable
I'm using Firefox btw

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.