rusteroids:用Rust编写的小行星游戏

时间:2021-02-10 04:26:48
【文件属性】:
文件名称:rusteroids:用Rust编写的小行星游戏
文件大小:1.11MB
文件格式:ZIP
更新时间:2021-02-10 04:26:48
Rust 该项目模板将使您从0开始立即在屏幕上绘制内容。 如果您想对引擎进行更深入的介绍,请阅读! 该项目模板还包括一个有关如何绘制UI的小示例,请参见state.rs中的create_ui_example()。 快速开始 克隆存储库 git clone https://github.com/amethyst/amethyst-starter-2d.git cd amethyst-starter-2d 生成并运行项目 cargo run 对于Mac用户 默认情况下,该启动程序使用vulkan作为渲染器。 您需要将后端更改为使用metal ,这可以通过打开Cargo.toml文件并更改 [ features ] default = [ " vulkan " ] 至 [ features ] default = [ " metal " ] 如果使用OSX和Metal,则需要从Appstore安装
【文件预览】:
rusteroids-master
----Cargo.toml(366B)
----COPYING(339B)
----Cargo.lock(192KB)
----src()
--------state.rs(7KB)
--------main.rs(1KB)
----repo()
--------splash.png(975KB)
--------screenshot.png(51KB)
----config()
--------display_config.ron(77B)
--------input.ron(313B)
----assets()
--------fonts()
--------sprites()
----README.md(2KB)
----.gitignore(77B)

网友评论