Godot 4与C#2D网格解密游戏制作完整流程视频教程
- 1 - Introduction and Setup
- 1 -Godot and C# Installation and Setup
- 2 -C# and VSCode Configuration
- 3 -Godot Editor Orientation
- 4 -The First C# Script
- 5 -Instantiating New Scenes
- 6 -Introduction to Signals
- 7 -Modifying Window Settings
- 2 - Foundational Mechanics
- 1 -Basic Grid Operations and TileMapLayer Introduction
- 2 -Using a HashSet to Mark Occupied Tiles
- 3 -Minor Code Cleanup
- 4 -Adding the Asset Pack and Tower Art
- 5 -Introduction to Autotiling
- 6 -Refactoring Code Into a GridManager
- 7 -Defining and Using TileSet Custom Data
- 8 -Adding a Base Building
- 9 -Using Autoloads and Custom Signals for Grid State Updating
- 10 -Using Grid State for More Sophisticated Building Rules
- 11 -Highlighting Expandable Building Area
- 12 -Adding Animated Tree Tiles
- 13 -Accounting for Trees in GridManager
- 14 -Applying Y-Sorting for Proper Draw Order
- 15 -Adding Village Buildings
- 16 -Introduction to Custom Resources
- 17 -Highlighting Resource Tiles
- 18 -Tracking Collected Resource Tiles
- 3 - Refining Gameplay Mechanics
- 1 -Introduction to Control Nodes
- 2 -Streamlining Building Placement
- 3 -Creating a Building Manager
- 4 -Creating a Building Placement Ghost
- 5 -Indicating Whether Building Ghost is Valid
- 6 -Cancelling Building Placement
- 7 -Refactoring Building Manager to Support States
- 8 -Refunding Resources and Updating Grid on Building Destruction
- 9 -Adding a Win Condition
- 10 -Transforming the Main Scene Into a Base Level Scene
- 11 -Adding Terrains to the Tileset
- 12 -Adding Water to the Tileset
- 13 -Adding Shadows to the Tileset
- 14 -Designing Your First Level
- 15 -Adding Camera Panning
- 16 -Fixing Tileset, Centering the Camera, and Adding Configurable Starting Resources
- 17 -Fixing Shadow Tiles Invalidating Buildable Tiles
- 18 -Making UI Buttons Follow Camera
- 4 - Expanding the Game Mechanics, UI, and Levels
- 1 -Making Buildings Occupy Multiple Tiles
- 2 -Adding Base Building Art and Preventing Deletion
- 3 -Allowing Building Deletion by Clicking Into Occupied Area
- 4 -Preventing Building Placement on Differing Elevation Layers
- 5 -Introduction to Extension Methods
- 6 -Making Building Radius Circular
- 7 -Introduction to UI Theming
- 8 -Theme Files and Theme Variations
- 9 -Styling Building Selection UI
- 10 -Fonts and Button Styling
- 11 -Improving the Design of Building Sections
- 12 -Displaying Resource Count in Game UI
- 13 -Building a Main Menu Skeleton UI
- 14 -Building a Framework for Changing Levels
- 15 -Creating a Level Complete Screen
- 16 -Moving to the Next Level from the Level Complete Screen
- 17 -Designing More Levels
- 18 -Addressing Some Errors and Issues
- 19 -Creating a Level Select Screen
- 20 -Moving Level Definitions to Custom Resources
- 21 -Showing Levels on the Level Select Screen
- 22 -Integrating the Level Select Screen With the Main Menu
- 5 - Adding Animations, Goblin Camps, and Other Polish Elements
- 1 -Improving the Look of Building Placement
- 2 -Introduction to Animation Player
- 3 -Using Tweens to Animate Building Position
- 4 -Centering Building Placement on Mouse Position
- 5 -Animating Building Placement
- 6 -Call Building Placement Animation on Demand
- 7 -Building Destruction Animation
- 8 -Adding a Mask to Building Destruction
- 9 -Fixing Destruction-Related Bugs
- 10 -Building Placement Particles
- 11 -Building Destruction Particles
- 12 -Creating a Goblin Camp
- 13 -Making the Goblin Camp Functional
- 14 -Creating a Barracks Building
- 15 -Allowing Barracks to Be Placed in Goblin Camps
- 16 -Showing Barracks Attack Area
- 17 -Making the Barracks Destroy Goblin Camps
- 18 -Handling Goblin Camp Restoration on Barracks Destroy
- 6 - Finalizing the Game
- 1 -Preventing Invalid Building Destruction
- 2 -Fixing Bugs in Building Destruction
- 3 -Preventing Invalid Barracks Destruction
- 4 -Cleaning Up Code and Tile Improvements
- 5 -Adding Pagination to Level Select Screen
- 6 -Introducing Nuget Packages
- 7 -Saving and Loading Lesson Data to Disk
- 8 -Showing Saved Level Completion State
- 9 -Window Scaling Configuration
- 10 -Adding Camera Shake
- 11 -Updating Particles for Barracks
- 12 -Adding Resource Indicators
- 13 -Adding Error Messaging
- 14 -Adding a Custom Cursor
- 15 -Animating Goblin Camp Destruction
- 16 -Adding Sound Effects
- 17 -Adding Final Sound Effects and Music
- 18 -Fixing Gold Mine Indicator
- 19 -Creating an Options Menu
- 20 -Integrating the Options Menu Into the Game
- 21 -Creating an Escape Menu
- 22 -Handling the Last Level in the Level Complete Screen
- 23 -Exporting Your Game
- 24 -Congratulations, Your Game is Complete!