中文课堂ID将于近期切换至Unity ID系统,请根据登录提示绑定Unity ID。如遇问题请移步至开发者社区发帖说明,我们会尽快帮您解决。

FPS游戏开发课程-基础篇

教程
中级
7 小时
概述
作者信息
教程资料
互动讨论
课程评价
354人收藏,165人学习
章节1
FPS游戏开发课程-基础篇
1.
讲师QQ,课程准备, 素材下载和安装
2.
安装ProBuilder和ProGrids
3.
关于ProGrids 不能下载或显示的说明和解决方法
4.
创建第一个5x5的房间。 Create a 5 x 5 room
5.
创建第一人称相机。Making a first person camera.
6.
添加一把科幻的枪. Import a Sci-fi gun asset.
7.
添加科幻枪的射击文字响应和枪口闪光。 Making sci fi gun shoot, printing responsive text to console, and adding muzzle flash effect.
8.
添加子弹弹道素材并做基本设置。 Import projectile asset and set up the basic.
9.
添加ProjectileBase脚本
10.
让子弹弹道动起来。 Let the projectile move.
11.
对子弹弹道进行碰撞检测, 并解释SphereCast 和 SphereCastAll的区别。 Take projectile hit detection and explain how SphereCast and SphereCastAll work.
12.
添加子弹弹道的碰撞效果。 Adding projectile impact vfx.
13.
解释向量映射到平面的数学概念以及他是如何在Unity中应用的。 Explain the project vector to plane concept and how it works in Unity.
14.
添加枪口准星的素材并显示在屏幕中央。 Add cross hair asset and display it at screen center.
15.
纠正子弹弹道的运行轨迹。 Projectile accuracy adjustment.
16.
创建一个7x7的房间. Build a 7 x 7 room.
17.
完成近战敌人的基本设置。 Melee enemy basic setup.
18.
让近战敌人动起来并能跟踪玩家。 Let the melee enemy move and follow player.
19.
添加近战敌人的等待和走动动画。Adding melee enemy idle and walk animation.
20.
添加近战敌人的攻击动画, 并在对玩家形成有效攻击时, 玩家健康值减少。 Adding enemy attack animation and player health decreases once the attack is effective.
21.
添加敌人的生命控制逻辑和子弹的攻击伤害。Adding enemy health control and projectile damage logic.
22.
添加敌人促发死亡动画的逻辑。 Adding trigger enemy died animation logic.
23.
设置远程敌人。 Set up the range enemy.
24.
添加远程敌人的子弹素材并完成设置。 Importing range enemy bullet asset and set up.
25.
编写远程敌人的子弹攻击代码。 Coding range enemy bullet attack.
26.
对远程敌人的子弹攻击进行碰撞检测, 当攻击玩家有效时, 玩家健康值减少。 Add range enemy bullet hit detection, once hit player, player health deceases.
27.
修建Boss 房间。 Third boss room
28.
完成Boss的基本设置。 Boss enemy setup.
29.
让Boss正面朝向玩家。 Let boss enemy look at player.
30.
制作用于Boss导弹攻击的导弹。 Making the missile for boss missile attack.
31.
编写Boss导弹攻击的逻辑。 Coding the boss enemy missile attack logic.
32.
编写Boss 跳跃攻击的逻辑。Programming boss enemy jump hit .
33.
让不同房间的敌人只有在玩家进入该房间时才发起攻击。 Let the enemies in different rooms attack when player enters the room.
34.
让Boss随机选择攻击方式。 Let the boss enemy randomly choose how to attack.
35.
添加玩家的状态血条。 Adding player healthbar.
36.
添加Boss的状态血条。Adding boss healthbar.
摘要
在本教程中, 您将学习如何一步步地制作一款FPS(First Person Shooter 第一人称射击游戏),我们将采取循序渐进的方式掌握从创建3D关卡,开发第一人称相机系统, 编写科幻枪支射击逻辑, 到子弹弹道的碰撞检测, 再到AI的敌人的制作添加, 最后创建一个Boss的多种攻击方式。
课程反馈QQ群:1062645818
教程
FPS游戏开发课程-基础篇
电脑配置不足?
Unity云桌面,为Unity而生的云开发平台。
即可体验
章节1
FPS游戏开发课程-基础篇
1.
讲师QQ,课程准备, 素材下载和安装
2.
安装ProBuilder和ProGrids
3.
关于ProGrids 不能下载或显示的说明和解决方法
4.
创建第一个5x5的房间。 Create a 5 x 5 room
5.
创建第一人称相机。Making a first person camera.
6.
添加一把科幻的枪. Import a Sci-fi gun asset.
7.
添加科幻枪的射击文字响应和枪口闪光。 Making sci fi gun shoot, printing responsive text to console, and adding muzzle flash effect.
8.
添加子弹弹道素材并做基本设置。 Import projectile asset and set up the basic.
9.
添加ProjectileBase脚本
10.
让子弹弹道动起来。 Let the projectile move.
11.
对子弹弹道进行碰撞检测, 并解释SphereCast 和 SphereCastAll的区别。 Take projectile hit detection and explain how SphereCast and SphereCastAll work.
12.
添加子弹弹道的碰撞效果。 Adding projectile impact vfx.
13.
解释向量映射到平面的数学概念以及他是如何在Unity中应用的。 Explain the project vector to plane concept and how it works in Unity.
14.
添加枪口准星的素材并显示在屏幕中央。 Add cross hair asset and display it at screen center.
15.
纠正子弹弹道的运行轨迹。 Projectile accuracy adjustment.
16.
创建一个7x7的房间. Build a 7 x 7 room.
17.
完成近战敌人的基本设置。 Melee enemy basic setup.
18.
让近战敌人动起来并能跟踪玩家。 Let the melee enemy move and follow player.
19.
添加近战敌人的等待和走动动画。Adding melee enemy idle and walk animation.
20.
添加近战敌人的攻击动画, 并在对玩家形成有效攻击时, 玩家健康值减少。 Adding enemy attack animation and player health decreases once the attack is effective.
21.
添加敌人的生命控制逻辑和子弹的攻击伤害。Adding enemy health control and projectile damage logic.
22.
添加敌人促发死亡动画的逻辑。 Adding trigger enemy died animation logic.
23.
设置远程敌人。 Set up the range enemy.
24.
添加远程敌人的子弹素材并完成设置。 Importing range enemy bullet asset and set up.
25.
编写远程敌人的子弹攻击代码。 Coding range enemy bullet attack.
26.
对远程敌人的子弹攻击进行碰撞检测, 当攻击玩家有效时, 玩家健康值减少。 Add range enemy bullet hit detection, once hit player, player health deceases.
27.
修建Boss 房间。 Third boss room
28.
完成Boss的基本设置。 Boss enemy setup.
29.
让Boss正面朝向玩家。 Let boss enemy look at player.
30.
制作用于Boss导弹攻击的导弹。 Making the missile for boss missile attack.
31.
编写Boss导弹攻击的逻辑。 Coding the boss enemy missile attack logic.
32.
编写Boss 跳跃攻击的逻辑。Programming boss enemy jump hit .
33.
让不同房间的敌人只有在玩家进入该房间时才发起攻击。 Let the enemies in different rooms attack when player enters the room.
34.
让Boss随机选择攻击方式。 Let the boss enemy randomly choose how to attack.
35.
添加玩家的状态血条。 Adding player healthbar.
36.
添加Boss的状态血条。Adding boss healthbar.