mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-04 15:00:09 +01:00
All demos were opened with Godot 4.2.1, with the mesh format upgraded for 3D demos. The 3D antialiasing demo now uses Extra Cull Margin on the last object to prevent it from disappearing too early when the camera rotates (due to its use of shader-based animation).
Pong with C#
A simple Pong game. This demo shows best practices for game development in Godot, including signals.
Language: C#
Renderer: GLES 2
Note: There is a GDScript 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/535
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.
