ShatteredReality b4c73f4888 Fix README links to asset library (#1078) | 6 mesiacov pred | |
---|---|---|
.. | ||
logic | 7 mesiacov pred | |
screenshots | 4 rokov pred | |
README.md | 6 mesiacov pred | |
ball.png | 4 rokov pred | |
ball.png.import | 11 mesiacov pred | |
icon.webp | 1 rok pred | |
icon.webp.import | 1 rok pred | |
paddle.png | 4 rokov pred | |
paddle.png.import | 11 mesiacov pred | |
pong.tscn | 9 mesiacov pred | |
project.godot | 7 mesiacov pred | |
separator.png | 4 rokov pred | |
separator.png.import | 11 mesiacov pred |
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.