News for hackers. Stuff that matters.

For any Rust game engine devs out there, how do you make an editor with VSCode?

Pretty specific niche, but you guys are the most knowledgeable I can think of, and I really need some help. So basically, I have a fully working game engine (built with Rust and wgpu) and am currently working on building the editor. I can insert objects and stuff, but how do I go about attaching scripts? I could somehow open them in VSCode, although I'm not sure how to run the command line via a rust script, or require that rust be downloaded. And then how would I pick out functions? I want to search for a new function and an update function, and then call that function while passing in a single parameter which is my game's main state. Thanks!
( no comments | on HN )

There are no comments yet.