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

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.
主站蜘蛛池模板: 富源县| 枣强县| 宁明县| 灵石县| 七台河市| 明光市| 吉安县| 海宁市| 东乌| 连江县| 鞍山市| 定西市| 丹江口市| 萨嘎县| 缙云县| 广河县| 宁化县| 兴义市| 汤阴县| 伊宁县| 延吉市| 永兴县| 瓦房店市| 商城县| 南澳县| 合阳县| 晋城| 桓台县| 桐乡市| 五河县| 咸丰县| 安庆市| 金湖县| 宁波市| 盐亭县| 龙州县| 筠连县| 会宁县| 阿巴嘎旗| 吕梁市| 喀什市|