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

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!

主站蜘蛛池模板: 鹰潭市| 睢宁县| 荣昌县| 邯郸县| 荔浦县| 旬邑县| 荃湾区| 奈曼旗| 定陶县| 清镇市| 日喀则市| 宾阳县| 新泰市| 崇义县| 罗田县| 定远县| 静乐县| 临澧县| 仁怀市| 库尔勒市| 旺苍县| 平利县| 木里| 博客| 朝阳市| 会同县| 梓潼县| 开远市| 乌鲁木齐县| 平邑县| 淮阳县| 大名县| 靖边县| 洛隆县| 胶州市| 中超| 昌乐县| 宕昌县| 咸丰县| 新营市| 临朐县|