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

Chapter 2. Keeping Track of Your Textures – Resource Management

In the previous chapter, you have learned how to load a texture, and display a sprite that uses the texture. During the process of game development, you encounter such situations again and again: you need to load data from the hard disk, be it images, fonts, or sounds. This chapter intends to give you a broader understanding of the following points:

  • What is the motivation behind external resources
  • Which classes for resource handling and manipulation does Simple and Fast Multimedia Library (SFML) provide
  • What might a typical use case in a game look like
  • How do we cope with the constantly recurring need to manage resources in a simple way
主站蜘蛛池模板: 缙云县| 宁明县| 华坪县| 横峰县| 旬邑县| 娄烦县| 阜宁县| 黄梅县| 自贡市| 美姑县| 炉霍县| 墨竹工卡县| 包头市| 西盟| 冀州市| 邢台县| 库尔勒市| 石台县| 舞钢市| 福清市| 怀来县| 同仁县| 醴陵市| 海门市| 叶城县| 龙门县| 赣榆县| 岐山县| 临西县| 宜城市| 庆安县| 都匀市| 视频| 清新县| 聂拉木县| 庐江县| 凯里市| 灵台县| 双鸭山市| 盐津县| 张北县|