godot-demo-projects/mono/pong/README.md

1.1 KiB

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.

Screenshots

Screenshot