4 ms·
I created Half-Life Engine JS wrapping a Wasm port of Xash3D in a clean JS module: https://hl-engine-js.steren.fr/ https://hl-engine-js.steren.fr/ I wish Wasm
by steren 3y ago
I created Half-Life Engine JS wrapping a Wasm port of Xash3D in a clean JS module: https://hl-engine-js.steren.fr/ https://hl-engine-js.steren.fr/
I wish Wasm was officially supported by Xash3D.
- bonyt 3y agoWeird, I get an error: > Exception thrown: TypeError: params.args is undefined
- steren 3y agoYes, I should put a better error message. You need to load the game files, which aren't serve from my website. If you want to see an example with my own maps, see https://minfantry.steren.fr/ https://minfantry.steren.fr/
- bonyt 3y agoIt happened when I did load the game files, I had to patch out this line to remove the second set of args: Module.arguments = [...args, ...params.args]; Then, it did work! :D