rust-gamedev / wg

Coordination repository of the Game Development Working Group
504 stars 10 forks source link

Modding #68

Open Kinrany opened 4 years ago

Kinrany commented 4 years ago

Couldn't find any references to game modifications in this repo, so I'll start a new topic.

I wonder if it's possible to use Rust's type system and piggyback on Cargo to make it easier for games to support modding.

Kinrany commented 4 years ago

There's also the case of roblox-ts, a custom TypeScript -> Lua transpiler. They're using NPM for package management even though their packages are not necessarily valid TypeScript.

This seems similar to package managers for mods. Maybe Cargo could support these use cases by extracting the relevant parts into separate reusable crates.