- 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.
- Java逍遙游記
- Learning Scala Programming
- Go Web編程
- Beginning Java Data Structures and Algorithms
- Flink SQL與DataStream入門、進(jìn)階與實(shí)戰(zhàn)
- C#程序設(shè)計(jì)(慕課版)
- Learning Apache Kafka(Second Edition)
- MySQL數(shù)據(jù)庫基礎(chǔ)實(shí)例教程(微課版)
- Kali Linux Wireless Penetration Testing Beginner's Guide(Third Edition)
- Microsoft Azure Storage Essentials
- Struts 2.x權(quán)威指南
- Machine Learning for Developers
- STM8實(shí)戰(zhàn)
- Java EE程序設(shè)計(jì)與開發(fā)實(shí)踐教程
- LabVIEW數(shù)據(jù)采集(第2版)