Godot Engine Game Development Projects
上QQ阅读APP看书,第一时间看更新

Escape the Maze

In the previous chapter, you learned how Godot's node system works, allowing you to build a complex scene out of smaller building blocks, each providing different functionalities for your game's objects. This process will continue as you move up to larger and more complex projects. However, sometimes you'll find yourself duplicating the same nodes and/or code in more than one different object, and this project will introduce some techniques for reducing the amount of repeated code. 

In this chapter, you'll build a game called Escape the Maze. In this game, you will be trying to navigate a maze to find the exit while avoiding the roaming enemies:

You will learn about the following key topics in this project:

  • Inheritance
  • Grid-based movement
  • Spritesheet animation
  • Using TileMaps for level design
  • Transitioning between scenes