- OpenGL Game Development By Example
- Robert Madsen Stephen Madsen
- 166字
- 2021-07-16 12:44:23
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.
推薦閱讀
- 龍芯應用開發標準教程
- 電腦維護與故障排除傻瓜書(Windows 10適用)
- 數字道路技術架構與建設指南
- micro:bit魔法修煉之Mpython初體驗
- 計算機維修與維護技術速成
- The Deep Learning with Keras Workshop
- Building 3D Models with modo 701
- 新編電腦組裝與硬件維修從入門到精通
- FL Studio Cookbook
- 觸摸屏應用技術從入門到精通
- 筆記本電腦的結構、原理與維修
- 施耐德M241/251可編程序控制器應用技術
- Arduino案例實戰(卷Ⅳ)
- Hands-On One-shot Learning with Python
- Applied Deep Learning with Keras