这门课直击很多开发者“会写代码但不会做游戏”的痛点。如果你熟悉 C# 语法,却从未在 Godot 4 中跑通一个完整项目,或者对引擎的信号(Signals)机制感到迷茫,这套教程正是为你准备的。它不讲空洞的理论,而是通过构建一个网格谜题游戏,将 C# 逻辑与引擎资源管理紧密绑定。适合有一定编程基础,希望从后端或纯代码开发转向游戏开发,但缺乏实战经验的学习者。如果你连变量和类都没搞懂,建议先补基础;如果你已精通 Unity 但想掌握 Godot,这门课能帮你快速建立新引擎的思维模型。
核心模块与学习路径
课程分为环境搭建与核心机制两大部分,建议按顺序攻克。首先,不要跳过前四节的环境配置与编辑器熟悉,Godot 4 的 C# 工作流与 Unity 差异较大,VSCode 的调试配置是后续开发的基石。接着,重点研读“Foundational Mechanics”章节,这是整门课的精华。你需要深入理解如何用 HashSet 管理网格占用状态,如何通过 TileMapLayer 实现地块交互,以及自定义资源(Custom Resources)在数据存储中的应用。特别是关于“可扩展建筑区域高亮”和“Y-Sorting 绘制顺序”的章节,解决了网格游戏中常见的视觉与逻辑冲突问题,这部分代码逻辑复杂,建议逐行跟写,而非仅看视频。
独立能力与资料配合
学完这套课程,你应能独立搭建一个具备状态管理、资源收集和动态网格更新的 2D 游戏原型。你不再需要依赖现成的插件包,而是能亲手编写 GridManager 来处理复杂的建筑规则。配套资料包中的代码片段是关键的练习素材,每一节视频结束后都有对应的 code.zip,请务必将其导入项目并对比自己的实现。在视频暂停时,尝试修改参数或增加新的地块类型,验证你对信号系统和资源追踪机制的理解。不要只看不练,动手调试报错的过程,才是真正掌握 C# 在 Godot 中应用的关键。最终,你能回答的问题包括:如何高效管理大量网格节点的性能?如何用自定义资源替代硬编码数据?以及如何处理复杂的用户输入与视觉反馈同步?
课程目录
1 - Introduction and Setup 1 -code.zip 5.02kb 1 -Godot and C# Installation and Setup.mp4 86.01M 2 -C# and VSCode Configuration.mp4 61.48M 2 -code.zip 5.02kb 3 -code.zip 8.47kb 3 -Godot Editor Orientation.mp4 55.56M 4 -code.zip 5.86kb 4 -The First C# Script.mp4 82.02M 5 -code.zip 7.03kb 5 -Instantiating New Scenes.mp4 83.91M 6 -code.zip 7.17kb 6 -Introduction to Signals.mp4 102.55M 7 -code.zip 7.25kb 7 -Modifying Window Settings.mp4 30.46M 2 - Foundational Mechanics 1 -Basic Grid Operations and TileMapLayer Introduction.mp4 147.69M 1 -code.zip 9.62kb 10 -code.zip 2.66M 10 -Using Grid State for More Sophisticated Building Rules.mp4 180.71M 11 -code.zip 2.66M 11 -Highlighting Expandable Building Area.mp4 238.92M 12 -Adding Animated Tree Tiles.mp4 118.16M 12 -code.zip 2.68M 13 -Accounting for Trees in GridManager.mp4 217.02M 13 -code.zip 2.68M 14 -Applying Y-Sorting for Proper Draw Order.mp4 135.77M 14 -code.zip 2.68M 15 -Adding Village Buildings.mp4 179.46M 15 -code.zip 2.69M 16 -code.zip 2.69M 16 -Introduction to Custom Resources.mp4 179.44M 17 -code.zip 2.69M 17 -Highlighting Resource Tiles.mp4 165.84M 18 -code.zip 2.69M 18 -Tracking Collected Resource Tiles.mp4 125.17M 2 -code.zip 9.69kb 2 -Using a HashSet to Mark Occupied Tiles.mp4 41.10M 3 -code.zip 9.62kb 3 -Minor Code Cleanup.mp4 61.83M 4 -Adding the Asset Pack and Tower Art.mp4 114.81M 4 -code.zip 2.63M 4 -Tiny Swords.zip 2.65M 5 -code.zip 2.66M 5 -Introduction to Autotiling.mp4 226.40M 6 -code.zip 2.66M 6 -Refactoring Code Into a GridManager.mp4 193.12M 7 -code.zip 2.66M 7 -Defining and Using TileSet Custom Data.mp4 95.95M 8 -Adding a Base Building.mp4 142.28M 8 -code.zip 2.66M 9 -code.zip 2.66M 9 -Using Autoloads and Custom Signals for Grid State Updating.mp4 160.19M 3 - Refining Gameplay Mechanics 1 -code.zip 2.69M 1 -Introduction to Control Nodes.mp4 139.37M 10 -code.zip 2.71M 10 -Transforming the Main Scene Into a Base Level Scene.mp4 69.81M 11 -Adding Terrains to the Tileset.mp4 133.88M 11 -code.zip 2.74M 12 -Adding Water to the Tileset.mp4 100.50M 12 -code.zip 2.75M 13 -Adding Shadows to the Tileset.mp4 130.18M 13 -code.zip 2.75M 14 -code.zip 2.75M 14 -Designing Your First Level.mp4 185.34M 15 -Adding Camera Panning.mp4 186.23M 15 -code.zip 2.75M 16 -code.zip 2.75M 16 -Fixing Tileset, Centering the Camera, and Adding Configurable Starting Resources.mp4 73.25M 17 -code.zip 2.75M 17 -Fixing Shadow Tiles Invalidating Buildable Tiles.mp4 84.07M 18 -code.zip 2.75M 18 -Making UI Buttons Follow Camera.mp4 82.51M 2 -code.zip 2.69M 2 -Streamlining Building Placement.mp4 145.31M 3 -code.zip 2.70M 3 -Creating a Building Manager.mp4 167.85M 4 -code.zip 2.70M 4 -Creating a Building Placement Ghost.mp4 184.93M





![大疆维修,无人机维修教程[66.30GB]](/_next/image?url=https%3A%2F%2Fwww.itzhibei.com%2Fapi%2Fuploads%2Fb6a69810-862f-479c-a529-d66880073ebc.jpg&w=1920&q=75)