12 lines
536 B
Markdown
12 lines
536 B
Markdown
Problem with hl-engine-js is that the `init()` method simply takes "location", a url to a directory
|
|
containing all the engine files.
|
|
|
|
https://github.com/steren/hl-engine-js/blob/main/lib/hl-engine.js#L145
|
|
- loadXash would need to be changed
|
|
- `Module.memoryInitializerPrefixURL = params.location + "/";` is where all the emscripten-specific
|
|
files are loaded. This can be replaced with [Module.locateFile](https://emscripten.org/docs/api_reference/module.html#Module.locateFile)
|
|
|
|
### Cool ideas
|
|
|
|
https://github.com/leonill007/vgui.css
|