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

Chapter 3. A Matter of Character

A video game wouldn't be much fun without characters, and this chapter is all about bringing your game characters to life. Games typically have two kinds of characters. First, there is the character or characters that you are playing as. These are called the player characters. The characters that are controlled by the computer are called the non-player characters or NPCs.

This chapter will explain how to create characters for your game. Along the way we will cover:

  • Sprites: Sprites are any textures that the player interacts with in the game. This includes the player characters, NPCs, and other objects in the game.
  • Animation: The art of making an image appear to move is called animation. You will learn how to use multiple images to make your textures move on the screen.
  • Atlases: Images can be stored one at a time, or they can be combined into single composite texture known as a sprite sheet or an atlas.
主站蜘蛛池模板: 谷城县| 禹州市| 巴青县| 贡嘎县| 兴和县| 信丰县| 沙坪坝区| 浑源县| 南昌市| 长丰县| 饶河县| 梨树县| 宿迁市| 卫辉市| 朝阳县| 安图县| 丰都县| 安国市| 古交市| 玛纳斯县| 平凉市| 海南省| 溆浦县| 峡江县| 太保市| 五峰| 连平县| 大城县| 平果县| 平邑县| 西吉县| 海盐县| 玉山县| 河津市| 老河口市| 米易县| 彰化市| 灵寿县| 南平市| 郁南县| 韩城市|