Summary
In this chapter, you learned how to use the KinematicBody2D
node to create arcade-style physics. You also used the AnimationPlayer
to create a variety of animations for character behavior, and made extensive use of what you learned in earlier projects to tie everything together. Hopefully, by this point, you have a good grasp of the scene system and how a Godot project is structured.
Remember the Stretch Mode
and Aspect
properties you set in the Project Settings
at the beginning? Run the game and observe what happens when you resize the game window. These settings are the best for this style of game, but try changing the Stretch Mode
to Viewport
instead, then make your game window very wide or tall. Experiment with the other settings to see the effect of the different resizing options.
Once again, before moving on, take a few moments to play your game and look through its various scenes and scripts to review how you built it. Review any sections of this chapter that you found particularly...