Urban Terror (ut.pieter.com)Shooter · PC
First-person shooter · Xash3D FWGS Emscripten port
Half-Life (pixelsuft)
Black Mesa on an Emscripten build of Xash3D, with a memory slider.
- Developer
- Valve
- Released
- 1998
- Platform
- PC (Windows)
- Players
- Single-player
Half-Life is Valve's 1998 shooter that told its whole story from behind Gordon Freeman's eyes. Pixelsuft's page on pixelsuft.github.io runs it in your browser through an Emscripten build of the Xash3D FWGS engine.
Opens the pixelsuft.github.io version in a new tab. BitRunWasm does not host this game. Never install extensions or launchers a game page asks for.
Controls
Half-Life - keyboard, mouse and pad
| Action | Input |
|---|---|
| Move and strafe | W A S D |
| Look and aim | Mouse |
| Primary fire | Left mouse button |
| Secondary fire | Right mouse button |
| Jump | Space |
| Crouch | Ctrl |
| Walk slowly | Shift |
| Use (doors, buttons, scientists) | E |
| Reload | R |
| Flashlight | F |
| Weapon categories | 1 - 5 / mouse wheel |
| Developer console | ~ |
These are Half-Life's default bindings, which Xash3D follows; you can change them in Options, and a gamepad is not advertised on this page.
Cheats
5 codes - click one to copy
Open the console with the ~ key and type the commands one at a time. Some packages may need you to start the map again after enabling sv_cheats.
Guide
6 tips for Half-Life
Raise memory for big maps
If the game freezes or crashes on a level change, return to the start page and increase Memory size. Larger values help with heavy maps, but setting it far higher than your device can give may fail to start at all.
Expect the menu to stutter
The port's own notes say the menu lags in the English package. That is a menu problem, not a sign the game will be slow. Once a map loads, gameplay is usually steadier.
Prefer Half-Life over Opposing Force here
The Opposing Force packages are flagged as buggy on this old Xash build, with NPCs that do not spawn. Half-Life is the more complete experience on this page.
F6 before every Blast Pit tentacle crossing
Quick save is F6 and quick load F9 by default. Hit F6 before each run past the tentacles in Blast Pit and before the jumps in Xen, where one slip means falling into the void.
Read the scientists' hints
Early chapters like Unforeseen Consequences and Office Complex teach you the game through scientists and security guards. Bring a guard along with E, since his pistol helps against headcrabs and zombies.
Use the console to diagnose
The launch arguments include developer mode, so the console shows engine messages. If something breaks, the last lines usually explain whether a file failed to load or memory ran out.
About Half-Life
Valve, 1998
Half-Life put you in the shoes of a theoretical physicist on an ordinary morning at the Black Mesa Research Facility. An experiment with an anomalous crystal causes a resonance cascade, aliens pour through from the border world Xen, and the military arrives to cover it all up. The game never cuts away to a cutscene; everything happens in first person.
The engine here is not Valve's own GoldSrc. Xash3D FWGS is an independent engine written to be compatible with GoldSrc games, and Pixelsuft compiled it with Emscripten so it runs as WebAssembly (WASM) and JavaScript in the browser. The project's repository calls it em-xash, an Xash Emscripten port with Half-Life mods.
The start page is minimal: a Memory size field (150 by default) and a Start button. Inside the launcher you pick a package from a list. The list includes Half-Life in English (about 214 MB) and in Russian, plus Opposing Force in both languages. The port's own notes mark the menu as laggy in the English Half-Life package and Opposing Force as buggy because it uses an old Xash version, with some NPCs not spawning.
Because the package is downloaded in pieces into the browser, the first launch takes a while on slow connections. After that, how smooth it feels depends mostly on your CPU and on how much memory you allow the engine.
How to play Half-Life online
- Open pixelsuft.github.io/hl in a desktop browser. Chrome and Firefox are the safest choices for older Emscripten builds.
- Leave Memory size at 150 or raise it if the game crashes while loading larger maps, then press Start.
- In the launcher, choose the package you want, such as Half-Life EN, and confirm the launch arguments the page fills in for you.
- Wait for the download to finish. The English Half-Life package is around 214 MB.
- When the main menu appears, choose New Game and pick a difficulty. The tram ride into Black Mesa starts right away.
Game details
| Game | Half-Life (pixelsuft) |
|---|---|
| Developer | Valve |
| Publisher | Sierra Studios |
| Released | 1998 |
| Original platform | PC (Windows) |
| Browser version | Xash3D FWGS Emscripten port |
| Players | Single-player |
| Genre | First-person shooter |
| Runs on | pixelsuft.github.io |
Half-Life FAQ
What is Xash3D and how is it different from the original?
Xash3D FWGS is an independent engine compatible with GoldSrc games like Half-Life. This page runs an Emscripten build of it, so the game works in a browser instead of through Valve's executable.
How big is the download?
The English Half-Life package is listed at about 214 MB and the Russian one at about 304 MB. The Opposing Force packages are around 220 MB.
Does it work on a Chromebook?
It can, but this is an older Emscripten build with a high memory need. Chromebooks with 8 GB of RAM and a recent Chrome version stand the best chance.
Can I play on a phone?
The page has no touch controls, so phones are not a practical option. Use a computer with a keyboard and mouse.
Are saves kept between visits?
Browser-based saves can disappear when site data is cleared or storage runs low. Treat each session as possibly temporary and do not count on long-term saves.
Why does Opposing Force behave strangely?
The port marks it as bugged because of the old Xash version it uses. Some NPCs do not spawn, which can block progress.
More games like Half-Life
Urban Terror (ut.pieter.com)Shooter · PC
Online
Return to Castle Wolfenstein (rtcw.pieter.com)Shooter · PC
Online
Counter-Strike: Source Surf (Surfd)Shooter · PC
Claude of Duty: Vibe Slops II (froydinger mirror)Shooter · PC
Quake III Arena (q3.pieter.com)Shooter · PC
Moon (Black Ops Zombies, vel.gg)Zombies · PC
Call of Duty: Modern Warfare 2Shooter · PC
Online
Quake III Arena (q3js)Shooter · PC
Call of Duty: Black Ops ZombiesZombies · PC
Half-Life and Counter-Strike 1.6 (WebXash)Shooter · PC
Claude of Duty: Vibe Slops II (GoofyAhhBro69420 mirror)Shooter · PC
Online
Counter-Strike 1.6Shooter · PC