Hugo Locurcio 2a962929f3 Update demo files for Godot 4.2.1 (#1013) | 10 月之前 | |
---|---|---|
.. | ||
logic | 2 年之前 | |
screenshots | 4 年之前 | |
README.md | 2 年之前 | |
ball.png | 4 年之前 | |
ball.png.import | 10 月之前 | |
icon.webp | 1 年之前 | |
icon.webp.import | 1 年之前 | |
paddle.png | 4 年之前 | |
paddle.png.import | 10 月之前 | |
pong.tscn | 1 年之前 | |
project.godot | 10 月之前 | |
separator.png | 4 年之前 | |
separator.png.import | 10 月之前 |
A simple Pong game. This demo shows best practices for game development in Godot, including signals.
Language: GDScript
Renderer: Vulkan Mobile
Note: There is a C# version available here.
Note: There is a VisualScript version available here.
Note: There is a GDNative C++ version available here.
Check out this demo on the asset library: https://godotengine.org/asset-library/asset/121
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.