Files
godot-demo-projects/2d/pong/README.md
Hugo Locurcio 51fadd795c Link C# version in Squash the Creeps demo README (#1274)
- Also add a link the other way around (from the C# version
  to the GDScript version) to match Dodge the Creeps.
- Use GitHub admonition syntax.
2025-11-06 17:31:21 +01:00

27 lines
756 B
Markdown

# Pong with GDScript
A simple Pong game. This demo shows best practices
for game development in Godot, including
[signals](https://docs.godotengine.org/en/latest/getting_started/step_by_step/signals.html).
Language: GDScript
Renderer: Compatibility
> [!NOTE]
>
> There is a C# version available [here](https://github.com/godotengine/godot-demo-projects/tree/master/mono/pong).
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`](https://docs.godotengine.org/en/latest/classes/class_area2d.html)
nodes. When the ball touches the walls or the paddles,
they emit signals and modify the ball.
## Screenshots
![Screenshot](screenshots/pong.png)