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

Building Your Game

As we start off on our journey of building mobile games using the Unity game engine, it's important that you are familiar with the engine itself before we dive into the specifics of building things for mobile platforms. Although there is a chance that you've already built a game and want to transition it to mobile, there will also be those of you who haven't touched Unity before or may not have used it in a long time. This chapter will act as an introduction to newcomers and a refresher for those coming back, and it will provide some best practices for those who are already familiar with Unity. While you may skip this chapter if you're already familiar with Unity, I think it's also a good idea to go through the project so that you know the thought processes behind why the project is made in the way that it is, so that you can keep it in mind for your own future titles.

In this chapter, we will build a 3D endless runner game in the same vein as Imangi Studios LLC's Temple Run series. In our case, we will have a player who will run continuously in a certain direction and dodge the obstacles that are in their way. We can also add additional features to the game easily, as the game will endlessly have new things added to it.

This chapter will be split into a number of topics. It will contain simple, step-by-step processes for you to follow. Here is an outline of our tasks:

  • Setting up the project
  • Creating the player
  • Moving the player through a C# script
  • Improving scripts using attributes
  • Having the camera follow the player
  • Creating a basic tile
  • Making the game endless
  • Creating obstacles
主站蜘蛛池模板: 颍上县| 大田县| 乐至县| 金堂县| 荣成市| 武功县| 沅陵县| 景泰县| 武宣县| 迭部县| 襄城县| 宁安市| 屏山县| 绥滨县| 阿拉尔市| 万源市| 金塔县| 永和县| 成都市| 苗栗县| 区。| 元江| 巴马| 杭锦后旗| 辽中县| 梓潼县| 博白县| 巴东县| 扶沟县| 新乡市| 临海市| 安远县| 响水县| 无为县| 连山| 临桂县| 右玉县| 新龙县| 长丰县| 凭祥市| 静宁县|