PistonDevelopers/Piston-Tutorials
关于
Piston 教程
学习与教育实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Piston-Tutorials 
This is a repository for examples of Piston projects that have are accompanied by written tutorials explaining core concepts for that tutorial.
Current Tutorials
Getting Started Spinning Square
A "tutorial" with instructions on compiling and running a very simple Piston.
Sudoku (work in progress)
Write a Sudoku game with Piston.
Roguelike (work in progress)
Write a Roguelike game with Piston.
Planned Tutorials
- graphics
- piston
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.
Making changes to the tutorials
Because most of the tutorials will contain heavy amounts of
code, TyOverby developed a markdown pre-processor that takes
readme.dev.md files and includes code from the surrounding
project. This way you don't need to make a change in the code
for the tutorial and then also make the same change in the
readme.md file; the preprocessor will do that for you!
In order to run the pre-processor, simply invoke cargo run
from the root directory (not the sub-tutorial directory) and
it will rebuild all the markdown files that it knows about.
探索相关项目
加载中…