godot-demo-projects/mono/pong
ShatteredReality b4c73f4888
Fix README links to asset library (#1078)
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>
2024-06-24 19:29:58 +02:00
..
Logic
screenshots
Pong with C#.csproj
Pong with C#.sln
README.md Fix README links to asset library (#1078) 2024-06-24 19:29:58 +02:00
ball.png
ball.png.import
icon.webp
icon.webp.import
paddle.png
paddle.png.import
pong.tscn
project.godot
separator.png
separator.png.import

README.md

Pong with C#

A simple Pong game. This demo shows best practices for game development in Godot, including signals.

Language: C#

Renderer: Compatibility

Note: There is a GDScript version available here.

Check out this demo on the asset library: https://godotengine.org/asset-library/asset/2796

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.

Screenshots

Screenshot