TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

1 点作者 Jax_Hax超过 1 年前
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!

暂无评论

暂无评论