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

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!

主站蜘蛛池模板: 蒲城县| 柯坪县| 富裕县| 靖边县| 济源市| 黄浦区| 商洛市| 修文县| 长子县| 乡宁县| 南安市| 舞阳县| 新闻| 阳曲县| 宣武区| 东乌| 建瓯市| 隆回县| 郯城县| 嘉禾县| 贵州省| 连山| 星子县| 赤壁市| 读书| 深泽县| 芜湖市| 永德县| 南京市| 白城市| 霸州市| 河北省| 尉犁县| 阿坝县| 临清市| 聂拉木县| 景宁| 朔州市| 武宁县| 北海市| 壤塘县|