Summary
In this chapter, you learned how to work with RigidBody2D
nodes and learned more about how Godot's physics works. You also implemented a basic Finite State Machine—something you'll find more and more useful as your projects grow larger. You saw how Container
nodes help organize and keep UI nodes aligned. Finally, you added some sound effects and got your first taste of advanced visual effects by using the AnimationPlayer
and Particles2D
nodes.
You also created a number of game objects using the standard Godot hierarchies, such as CollisionShapes
being attached to CollisionObjects
. At this point, some of these node configurations should be starting to look familiar to you.
Before moving on, look through the project again. Play it. Make sure you understand what each scene is doing, and read through the scripts to review how everything connects together.
In the next chapter, you'll learn about kinematic bodies, and use them to create a side-scrolling platform game.