There is very little comments and no documentation at all. Feel free to ask me how things work if someone somewhy decides to do something with this.
You can try it at http://kosshi.net/experiments/webshovel/client.html
Features and stuff
- It runs suprisingly well
- World and meshing is managed by a webworker leading to zero stutter on chunk updates
- Very basic multiplayer, terrain is synchronized and other players are visible as wireframe rectangles
- Swept AABB based playercollisions. There's is some bugs related to float rounding errors tho.
- Quake-style strafe-jumping mechanics that dont work quite right, but are fun enough
- Over-engieneered bandwidth efficient networking
- Saveable serverside terrain (type
savein the server cmd)
- Ugly bitmap text renderer, overlaying HTML (or anything) performs suprisingly badly
- 4tap texturing and culled meshing, idea and some code by 0fps
- A lot of obscure interesting features that nobody needs (like my fancy input configs inspired by the Source engine)
- You can override some settings by setting them in the url, eg
/client.html?ip=kosshi.fi:8080,more=settigns. There's a handful of options that will moslty break things, you can find them in the
How to run it
Should work both on Linux and Windows
- You need to install Node.js and https://github.com/theturtle32/WebSocket-Node
- Then you need to find out what else it's missing and report about it
- Run server.bat or
src/server/and hope it works
Publish this whole thing on a web server and access it on a browser. Note: HTTPS Doesn't work.