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

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, 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.

主站蜘蛛池模板: 普宁市| 抚顺县| 丹巴县| 凤庆县| 阳山县| 瑞昌市| 白山市| 平罗县| 安龙县| 龙山县| 五寨县| 商水县| 巴里| 南投市| 乌鲁木齐县| 门源| 甘孜县| 白银市| 石城县| 巫山县| 独山县| 中宁县| 白河县| 浮梁县| 临湘市| 镇雄县| 互助| 伊宁县| 宽城| 青海省| 东城区| 临湘市| 长乐市| 鄂伦春自治旗| 厦门市| 延边| 金川县| 德兴市| 盐山县| 旬阳县| 嘉祥县|