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

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
主站蜘蛛池模板: 毕节市| 永和县| 宜黄县| 兰州市| 平乐县| 织金县| 博爱县| 高碑店市| 宝应县| 南宫市| 阿鲁科尔沁旗| 兴国县| 新安县| 黎平县| 东乌珠穆沁旗| 马山县| 凤翔县| 益阳市| 平乡县| 伊宁县| 大竹县| 尖扎县| 闻喜县| 浦东新区| 通城县| 洪泽县| 溧阳市| 武义县| 台中市| 昆明市| 灯塔市| 郯城县| 南京市| 屏东县| 桂东县| 颍上县| 乡宁县| 海南省| 湖口县| 桃园县| 昌邑市|