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

  • SFML Game Development
  • Artur Moreira Henrik Vogelius Hansson Jan Haller
  • 276字
  • 2021-08-13 17:11:12

Chapter 3. Forge of the Gods – Shaping Our World

In the previous chapter, we have covered loading, managing, and releasing of external resources. To sum up, we have investigated mechanisms to ensure that textures, fonts, or sounds are ready to be used as soon as we need them. This chapter attempts to bring knowledge around a few key topics:

  • Entity systems in concept and practice
  • The viewable area of our world and scrolling
  • Tree-based scene graphs, rendering and updating of many entities
  • Composition of all elements to shape the world

When writing a game, we invariably find the need to conceptualize our vision of the game into actual data structures. In other words, it is extremely important to have a clear idea of the scope of our vision. The world in our mind doesn't even have to scale remotely to what we consider our real world; it is a product of our own creation. It is well within our power, as game developers, to forge the whole world as a simple board game table, or an ant farm, or even scale up to a whole universe along with all the stars and planets.

The point is, it does not matter how our vision of the world looks, how small or big it is, or how realistic or abstract the concepts in it are, we will always want to represent that world in one or more data structures. For the reach of this book, we will apply these concepts directly to our own sample vision of a game, while leaving a solid background on the topic, for later implementation of new ideas and concepts.

主站蜘蛛池模板: 柳河县| 昌黎县| 沿河| 桦甸市| 临城县| 达拉特旗| 五河县| 丹巴县| 乡城县| 望城县| 咸宁市| 留坝县| 东莞市| 河东区| 遵义县| 剑河县| 当阳市| 镇原县| 尼勒克县| 东城区| 芮城县| 张家港市| 荆州市| 咸宁市| 太康县| 仁化县| 晴隆县| 襄城县| 闽清县| 隆德县| 新蔡县| 昌乐县| 红安县| 昌平区| 阳山县| 安阳县| 濉溪县| 黄大仙区| 连城县| 慈利县| 磴口县|