Online Multiplayer Browser Game with Old-School Raycasting Graphics.
Offline version available on GitHub Pages: https://tsoding.github.io/koil/
We are intentionally rendering on HTML 2D Canvas without employing any hardware acceleration to see how much we can push the boundaries of the software rendering implemented in JavaScript running in Browser. So the renderer may run unexpectedly slow on some machines and browsers, but we are working it.
$ npm install
$ npm run serve
$ <browser> https://localhost:6969/
This script starts up http-server at http://localhost:6969/ to serve the content of the current folder and the server of the game (server.mts). See serve.js for more details.
Dependencies
- Latest commit of C3 compiler (you need to build it from scratch)
- Node (v20.9.0+)
$ node install
$ node run build
- Renderer implementation is heavily inspired by https://lodev.org/cgtutor/raycasting.html
- The Networking is Based on https://github.com/tsoding/multiplayer-game-prototype