ShatteredReality b4c73f4888 Fix README links to asset library (#1078) | hai 7 meses | |
---|---|---|
.. | ||
logic | hai 7 meses | |
screenshots | %!s(int64=4) %!d(string=hai) anos | |
README.md | hai 7 meses | |
ball.png | %!s(int64=4) %!d(string=hai) anos | |
ball.png.import | hai 1 ano | |
icon.webp | hai 1 ano | |
icon.webp.import | hai 1 ano | |
paddle.png | %!s(int64=4) %!d(string=hai) anos | |
paddle.png.import | hai 1 ano | |
pong.tscn | hai 10 meses | |
project.godot | hai 7 meses | |
separator.png | %!s(int64=4) %!d(string=hai) anos | |
separator.png.import | hai 1 ano |
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
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.