godot-demo-projects/2d/pong
Danil Alexeev b4ab5b4e14
Fix renamed `vulkan/rendering/back_end=1` setting (Vulkan Mobile)
2023-03-01 10:22:42 +03:00
..
logic
screenshots
README.md
ball.png
ball.png.import
icon.png
icon.png.import
paddle.png
paddle.png.import
pong.tscn
project.godot
separator.png
separator.png.import

README.md

Pong with GDScript

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

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