Unity二维赛车游戏制作教程第三卷 - 2D Racing Game Series in Unity: Volume 3
2013-10-9 20:49 上传
What you will learn
在Unity 2D赛车游戏系列的第3卷中,我们将致力于创建核心玩法功能电源UPS 。
In volume 3 of the 2D Racing Game Series in Unity we'll be working on creating the core gameplay functionality for the power ups.
Unity二维赛车游戏制作教程第三卷 - 2D Racing Game Series in Unity: Volume 3
2013-10-9 20:50 上传
我们将通过创建水平的界限,以保持玩家离开游戏区开始浏览网页。然后,我们将开始我们的通电脚本的功能。我们将学习如何正确组装这些组合屋,以及如何实例当玩家按下特定的按钮。
We'll get started by creating boundaries for the level to keep the player from leaving the game area. Then we'll begin scripting the functionality of our powerups. We'll learn how to properly assemble these prefabs and how to instantiate them when the player presses a specific button.
Unity二维赛车游戏制作教程第三卷 - 2D Racing Game Series in Unity: Volume 3
2013-10-9 20:50 上传
然后,我们将弹丸功能开始工作,将通过空间飞行和摧毁本身与任何对象碰撞时,或当它的寿命超过。在那之后,我们将采取我们学到的东西,并把它应用到陷阱和提高功能。已组装通电后,我们将学习如何使每个人以自己的方式影响玩家。
Then we'll begin working on the projectile functionality where it will fly through space and destroy itself when it collides with any object or when it's lifespan is exceeded. After that, we'll take what we've learned and apply it to the trap and boost functionality. Once the powerups have been assembled, we'll learn how to make each one affect the player in their own way.
Tutor
Joshua Kinney
1. Introduction and project overview 00:54
2. Dressing the level 12:06
3. Creating the level boundaries 06:46
4. Spawning and respawning 10:29
5. Building the powerup system 08:40
6. Creating player properties10:54
7. Syncing the powerups with the player properties 08:55
8. Setting up the projectile prefab 08:48
9. Instantiating the powerup game objects 06:34
10. Creating the projectile behavior 09:04
11. Creating the trap and boost behavior 12:28
12. Applying boost to the car movement 15:16
13. Applying damage 10:38
14. Reflecting damage in the GUI 09:58