项目
在 GitHub 查看
PistonDevelopers/piston-examples
关于
使用 Piston 游戏引擎的示例集
游戏与模拟器实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Piston Examples
A collection of examples using the Piston game engine
How to build & run examples
To build the examples, you need Rust and Cargo installed.
- Install Rustlang for example through rustup
- Invoke
cargo run --example <NAME>where theNAMEare a file names fromexamplesdirectory 2.1. Optionally navigate toexamples/<directory>and invokecargo runfor more complex examples
Troubleshooting
I get "GL context creation failed" when running an example.
It's likely your hardware or driver doesn't support PistonWindow's default OpenGl spec. Just change it to something you can support at the beginning of the example. See hello_world.rs for an example.
探索相关项目
加载中…