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

Summary

In this chapter, we started to put the Unity 3D engine through its paces.

We learned how to:

  • Add built-in Game Objects to our Scene
  • Position, rotate, and scale those Game Objects
  • Add lighting to the Scene to brighten things up
  • Add Rigidbody components to our Game Objects to tie into Unity's physics calculations
  • Create Physic Materials
  • Customize Collider components to make Game Objects become bouncy

We took an impossibly complex game idea and hacked it down to its fun, naked essentials. We explored the origin point the center of our game's universe. We learned about the building blocks of 3D construction: vertices, edges, and faces. We talked about how polygon counts can affect game performance. We laughed and we cried. It was profound.

Following the script

What we have so far is not a game, but a very dull movie about the best keep-up player in the world who never, ever drops the ball. One key thing that distinguishes movies from games is popcorn. Also, games are interactive. We need to introduce interactivity to our game so that the player can move that paddle around.

We do this by writing a Script. Just like in the movies, where everyone follows a list of stage cues, lines, and notes to put the finished product together, Game Objects in Unity can follow Scripts to determine what to do. Scripts are essentially lists of instructions for people, or Game Objects, to follow. In the next chapter, we'll learn how to add Scripts to our Game Objects to add interactivity to our game.

主站蜘蛛池模板: 波密县| 海门市| 阳谷县| 大同县| 双鸭山市| 封丘县| 宜章县| 浮山县| 巧家县| 安丘市| 大连市| 丁青县| 类乌齐县| 乳山市| 平山县| 革吉县| 武鸣县| 泗洪县| 秦安县| 山东省| 治多县| 通许县| 太康县| 盘山县| 廉江市| 门源| 邹城市| 同江市| 崇州市| 刚察县| 辽阳市| 大余县| 平果县| 衡南县| 八宿县| 新丰县| 马尔康县| 永新县| 沾化县| 云和县| 汝南县|