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

Defining resources

In game development, the term resource denotes an external component, which the application loads during runtime. Another often-used term for a resource is asset.

Mostly, resources are heavyweight multimedia items, such as images, music themes, or fonts. "Heavyweight" refers to the fact that those objects occupy a lot of memory, and that operations on them, especially copying, perform slowly. This affects the way we use them in our application, as we try to restrict slow operations on them to a minimum.

Non-multimedia items such as scripts that describe the in-game world, menu content, or artificial intelligence are also considered resources. Configuration files containing user settings such as the screen resolution and the music volume are good examples of resources as well. However, when we mention resources in the book, we mostly refer to multimedia resources.

Resources are usually loaded from a file on the hard disk. Although being the most common approach, it is not the only one—other possible examples are the RAM or the network.

主站蜘蛛池模板: 呼玛县| 琼结县| 安塞县| 西青区| 双鸭山市| 桓台县| 福鼎市| 监利县| 惠来县| 体育| 常熟市| 上林县| 襄樊市| 文登市| 鸡东县| 磴口县| 东港市| 南开区| 监利县| 巴彦淖尔市| 社旗县| 宁武县| 河北省| 安义县| 峨眉山市| 化州市| 镇江市| 黎平县| 上饶县| 惠来县| 拜城县| 东阳市| 平南县| 安西县| 潜山县| 兴仁县| 二手房| 沭阳县| 开平市| 浦县| 宜宾县|