官术网_书友最值得收藏!

Summary

In this chapter, we saw a lot of important things like how to use Cargo (through the Cargo.toml file), how to import new crates into a project, thanks to Cargo, and the basics for Rust modules handling. We even covered how to use iterators and read and write files, SDL2 basics like how to create a window and fill it with colors, and loading/creating new textures and images (thanks to the SDL2-image library!).

In Chapter 3, Events and Basic Game Mechanisms, we'll start the implementation of the tetris game, so be sure to master everything explained in this chapter before starting the next one!

主站蜘蛛池模板: 无极县| 八宿县| 华亭县| 苗栗市| 岳阳市| 峨边| 海安县| 深圳市| 类乌齐县| 杭锦后旗| 阜南县| 永安市| 且末县| 抚宁县| 漳平市| 从化市| 凤凰县| 水富县| 全州县| 南川市| 大埔县| 广丰县| 公安县| 调兵山市| 吕梁市| 呼图壁县| 河曲县| 诏安县| 葫芦岛市| 忻州市| 古蔺县| 北安市| 潼关县| 庆元县| 宝鸡市| 安溪县| 从化市| 朝阳区| 合江县| 四平市| 古田县|