cavernos
RoguelikeTutorial2020
Our great sponsors
cavernos | RoguelikeTutorial2020 | |
---|---|---|
2 | 1 | |
33 | 31 | |
- | - | |
0.0 | 3.6 | |
about 1 year ago | over 3 years ago | |
Rust | C++ | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cavernos
-
Townscaper Running in the Browser
> It's written in JS which means that it's way smaller
There's nothing inherently large about WebAssembly, it's just that most practical wasm demos bundle emscripten (essentially an entire OS's standard library) or another very heavy layer in order to interop between the JS and WASM world.
As a bit of an experiment to see how small wasm could practically be with a minimal interop layer, I built this little project - the web demo is 90KB of JS + 70KB of wasm:
https://github.com/jordwest/cavernos
It was heavily inspired by this article which manages even smaller builds:
http://cliffle.com/blog/bare-metal-wasm/
There's a lot of room for improvement in terms of size optimisation in most projects, but it's still early days and for now most of them just bundle an OS compatibility layer to get things working quickly.
-
Advice for doing a web-playable 7DRL
- Cavernos (https://github.com/jordwest/cavernos)
RoguelikeTutorial2020
What are some alternatives?
tai - tai (Terminal Ascii Images) tool to convert images to text written in Rust
wordle-bg - 🇧🇬 Wordle clone in Bulgarian
scavenger2 - A roguelike
frontend.wasm - Wasm frontend for Tolc
asciiframe - A CLI tool that converts videos to ASCII and displays them to the terminal on the fly
Rust-HTML-roguelike - Rust WASM + HTML roguelike
kagome - Kagome - C++20 implementation of Polkadot Host
bevy_webgl2 - WebGL2 renderer plugin for Bevy game engine
chip8 - A simple chip-8 emulator in C++ using SDL2 with desktop & browser support
WaveFunctionCollapse - Bitmap & tilemap generation from a single example with the help of ideas from quantum mechanics