mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-04 06:09:46 +03:00
This updates all links to point to the 4.2 demos instead of the 3.5 ones. Co-authored-by: A Thousand Ships (she/her) <96648715+AThousandShips@users.noreply.github.com>
Pong with GDScript
A simple Pong game. This demo shows best practices for game development in Godot, including signals.
Language: GDScript
Renderer: Compatibility
Note: There is a C# version available here.
Check out this demo on the asset library: https://godotengine.org/asset-library/asset/2728
How does it work?
The walls, paddle, and ball are all
Area2D
nodes. When the ball touches the walls or the paddles,
they emit signals and modify the ball.
