- 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.
- OpenShift開發(fā)指南(原書第2版)
- 大學計算機基礎(chǔ)實驗教程
- Python零基礎(chǔ)快樂學習之旅(K12實戰(zhàn)訓練)
- R大數(shù)據(jù)分析實用指南
- MySQL從入門到精通(軟件開發(fā)視頻大講堂)
- 區(qū)塊鏈項目開發(fā)指南
- Solutions Architect's Handbook
- QPanda量子計算編程
- Python Programming for Arduino
- Web前端開發(fā)技術(shù):HTML、CSS、JavaScript
- C語言程序設(shè)計與應用實驗指導書(第2版)
- Web開發(fā)新體驗
- Socket.IO Cookbook
- 3D Printing Designs:Design an SD Card Holder
- jMonkeyEngine 3.0 Beginner’s Guide