这门课解决什么痛点?

很多初学者在 Unity 里能做出一个会跑的人物,但面对“关卡怎么铺”、“敌人 AI 怎么写”、“Boss 血量怎么算”时便无从下手。本课程不聊高大上的 3D 大作,而是聚焦 2D 平台跳跃游戏的全流程开发。它解决的核心问题是:如何从零搭建一个包含完整 Gameplay Loop 的可玩原型——从角色移动、双段跳、摄像机跟随,到地图瓦片绘制、敌人逻辑、甚至 Boss 战的状态机设计与胜负判定。

适合谁读?建议先看哪几块?

适合已了解 Unity 界面基础操作(如 Hierarchy、Inspector、Project 窗口),但尚未独立完成过一个完整小游戏的学员。若你对 C# 基础语法(变量、方法、脚本挂载)尚不熟悉,建议先补齐语法短板再入门。

建议学习顺序:
1. **第 1-2 章(项目搭建与环境熟悉)**:快速跳过,仅作流程梳理。
2. **第 3 章(玩家角色)**:这是核心中的核心,务必吃透物理组件、动画状态机切换及双段跳的逻辑实现,这是后续所有玩法的基石。
3. **第 4 章(Tilemaps 瓦片地图)**:学习如何高效构建关卡地形,理解碰撞层与触发器的区别。
4. **第 5 章(生命值系统)及后续(平台、Bug 修复、Boss)**:逐步构建游戏深度,重点攻克 Boss 状态机(Idle、Attack、Hurt 等状态的切换条件)。

学完能独立做什么?资料如何配合?

学完本课程后,你将能够独立使用 Unity 6 开发一款具备完整功能的 2D 横版平台游戏,包括玩家操控、多关卡地形、敌人 AI 行为树或状态机、Boss 战机制以及游戏结束界面。你不再只是照着视频敲代码,而是理解每个系统背后的设计逻辑,能够举一反三地修改怪物行为或调整关卡难度。

配套资料中的 Sunnyland 美术资源包提供了现成的精灵图与动画片段,请结合视频练习:先独立完成角色移动,再尝试复现 Boss 的攻击判定逻辑。遇到 Bug 时,参考课程中专门讲解的“Bug Fixes”章节,学习调试技巧而非直接复制结果,这样才能真正转化为自己的开发能力。

课程目录

1 -Introduction.mp4 10.55M
10 - Platforms & Bug Fixes
1 -Platforms.mp4 212.93M
2 -Bugs Part 1.mp4 201.17M
3 -Bugs Part 2.mp4 182.38M
11 - The Boss
1 -Boss Animations.mp4 190.35M
2 -Boss Attack Testing.mp4 132.92M
3 -Boss State Machine.mp4 219.21M
4 -Making the Boss Damage the Player.mp4 115.97M
5 -Boss Health & Damaging the Boss.mp4 259.33M
6 -Game Over, Win Screen & Boss Death Effect.mp4 216.18M
12 - The Finish Line
1 -Building Your Game.mp4 185.75M
2 - Getting Started
1 -The Unity IDE.mp4 106.46M
2 -Setting Up the Project.mp4 66.10M
2 -SunnylandCollection.zip 144.24M
3 - The Player
1 -Adding the Player.mp4 191.22M
2 -Player Movement and Physics.mp4 158.83M
3 -Player Animations, Double Jump & Camera Follow.mp4 257.17M
4 - Tilemaps
1 -Tilemaps.mp4 266.80M
5 - Health System
1 -Player Damage and Health System.mp4 192.10M
2 -Health UI and Invincibility.mp4 222.53M
3 -Knockback and Player Death.mp4 203.53M
6 - Checkpoints and Items
1 -Checkpoints and Respawning.mp4 167.34M
2 -Items & Score System.mp4 237.92M
7 - Enemies
1 -Patrolling Enemy Part 1.mp4 299.26M
2 -Patrolling Enemy Part 2.mp4 231.41M
3 -Flying Enemy.mp4 228.49M
8 - Sound and Level Transitions
1 -Audio System.mp4 219.26M
2 -Transitioning Between Levels.mp4 309.59M
9 - Menus
1 -Title Screen & Pause Menu.mp4 247.54M
2 -Options Menu.mp4 197.30M
ruike1/20250624/rk0763- - Introduction
1 -Introduction.srt 1.42kb
1 -Introduction_en.srt