In this Pong Godot 4 tutorial, we add the ball, taking advantage of code reusability from our paddle script for easy creation. We learn how to clamp Godot nodes to the screen for wall collisions, and use Godot signals in code to detect Area2D collisions with the paddles. We end by writing a custom signal to emit when the ball is scored. --------------------------------------------------------------------------------------------------------------------------- Starting files Zip format: Source: End files Source: --------------------------------------------------------------------------------------------------------------------------- TIMESTAMPS 0:00 Intro 0:20 Creating the ball 2:28 Giving the ball movement 5:15 Colliding with the wall 6:33 Colliding with the paddles 13:09 Detecting when the ball is scored 15:22 Slight refactoring 16:27 Outro











