- SFML Game Development
- Artur Moreira Henrik Vogelius Hansson Jan Haller
- 170字
- 2021-08-13 17:11:11
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.
- 數(shù)據(jù)科學(xué)實(shí)戰(zhàn)手冊(cè)(R+Python)
- Visual C++程序設(shè)計(jì)教程
- 人臉識(shí)別原理及算法:動(dòng)態(tài)人臉識(shí)別系統(tǒng)研究
- TypeScript實(shí)戰(zhàn)指南
- Visual Basic程序設(shè)計(jì)與應(yīng)用實(shí)踐教程
- Linux:Embedded Development
- BIM概論及Revit精講
- Extending Puppet(Second Edition)
- Android群英傳
- Vue.js 3應(yīng)用開發(fā)與核心源碼解析
- Drupal Search Engine Optimization
- Using Yocto Project with BeagleBone Black
- Beginning PHP
- Spring Boot學(xué)習(xí)指南:構(gòu)建云原生Java和Kotlin應(yīng)用程序
- Microsoft Windows Identity Foundation Cookbook