It's really fulfilling to be able to show people your work and have them play with it. It's so different than like.. spec'ing out a new database schema and then building some APIs over it. They're both coding, but one's a little harder to have a convo about at the dinner table.
Rust is such a mature language to use coming from a JavaScript background. I don't think it makes the best language for writing good games because it's too challenging to write bad prototypes you intend to throw away. You have to refactor frequently and code-compile-run loop is so slow. The lack of quick prototyping discourages me from playing around with ideas that might not work out and that makes for a worse game. However, as a programmer, Rust is an incredibly satisfying language to write in. Everything you do always feels very technically correct. The Rust quip that "if it compiles then it probably works" is very accurate and is a continuous source of pleasure.
I haven't looked into it seriously, no. Scripting support in Bevy (the ECS framework I was exploring) is pretty limited. There's an add-on that can provide unofficial support for LUA (https://github.com/makspll/bevy_mod_scripting) but I doubt that would be compatible with a WASM build target.
>I doubt that would be compatible with a WASM build target.
In principle, I don't see why not. In practice, yeah I can see it. In both cases, can't know without checking, and I haven't. Bevy is pretty cool though!
Maybe one of those would be minimal enough for the rest of the engine to not manage to get your way, as frameworks are known to do. As always, happy hacking!
It's really fulfilling to be able to show people your work and have them play with it. It's so different than like.. spec'ing out a new database schema and then building some APIs over it. They're both coding, but one's a little harder to have a convo about at the dinner table.
Rust is such a mature language to use coming from a JavaScript background. I don't think it makes the best language for writing good games because it's too challenging to write bad prototypes you intend to throw away. You have to refactor frequently and code-compile-run loop is so slow. The lack of quick prototyping discourages me from playing around with ideas that might not work out and that makes for a worse game. However, as a programmer, Rust is an incredibly satisfying language to write in. Everything you do always feels very technically correct. The Rust quip that "if it compiles then it probably works" is very accurate and is a continuous source of pleasure.