Welcome to your first step into game development with Godot and C#! This beginner-friendly course helps C# developers learn game development with the Godot Engine, walking you step by step through how to use C# to build interactive games. By the end, you understand the core concepts and workflows needed to bring your ideas to life.
You'll learn how to create a controllable player, build levels with scenes and nodes, add interactive objects, and even design a simple crafting UI. With hands-on challenges and a final sample project, you'll gain the confidence to start building your own games.
| Lesson | Video Link | Project Files |
|---|---|---|
| Introduction to Godot C# Essentials: A Complete Beginner's Guide | Video | Link |
| Installation - Set up Godot, VS Code, and C# | Video | Link |
| Engine Overview - Explore the Godot interface | Video | Link |
| Scenes and Nodes - The Core Building Blocks | Video | Link |
| Scripting Basics - Write C# scripts and attach them to nodes | Video | Link |
| Debugging - Troubleshoot in Godot & VS Code | Video | Link |
| Prototyping - Build environments with CSG Nodes | Video | Link |
| Interactions - Handle player input using signals and collision detection | Video | Link |
| User Interface - Create a responsive UI with Control nodes | Video | Link |
Some lessons may include project files, in which case you will find the following:
- Starting Project: A pre-configured project to help you get started quickly with the lesson.
- Final Project: A completed version of the project showing the end result of the lesson.
Explore the Fly By Café sample project to see how everything comes together. This project demonstrates takes the techniques that you learned a step further. Concepts include:
Advanced Character Systems
- Animation management using AnimationTree with state machines and layered animations.
- Jump mechanics with gravity and ground detection for platforming-style movement.
Flexible Game Architecture
- Singleton pattern for global access to player and UI systems.
- Custom Resource system for data-driven design.
- Interface-based interaction framework that makes adding new interactive objects simple.
Gameplay Systems
- Inventory system with automatic item stacking and quantity management.
- Crafting system that validates recipes and transforms ingredients into finished products.
- World-space UI using SubViewport to display interactive prompts in 3D space.
Environment Polish
- Animated doors using AnimationPlayer for responsive environmental interactions.
- Simple particle system to add visual flair and feedback.
- Simple animation created directly in Godot to show 360 rotation on a loop.
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos is subject to those third-parties' policies.
