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

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
主站蜘蛛池模板: 吴川市| 金沙县| 京山县| 新干县| 蒙城县| 抚顺市| 建湖县| 昆明市| 伊宁市| 西宁市| 大同县| 宁国市| 滨海县| 仙游县| 重庆市| 重庆市| 什邡市| 泌阳县| 驻马店市| 鸡东县| 大英县| 宁安市| 肃北| 庆阳市| 常宁市| 吉林市| 南木林县| 神农架林区| 兴国县| 石家庄市| 大理市| 文安县| 思南县| 汉阴县| 杨浦区| 泸西县| 卓资县| 宜城市| 泸溪县| 弥渡县| 图片|