godot-demo-projects/mono/pong
Aaron Franke 2979f85185
Update C# demos for Godot 3.2.3
2020-10-01 02:45:18 -04:00
..
Logic
Properties
Pong with C#.csproj Update C# demos for Godot 3.2.3 2020-10-01 02:45:18 -04:00
Pong with C#.sln
README.md Link to the asset library from the README of each demo 2020-09-10 15:37:10 -04:00
ball.png Optimize PNG images using oxipng 2020-08-16 17:48:38 -05:00
ball.png.import
icon.png Optimize PNG images using oxipng 2020-08-16 17:48:38 -05:00
icon.png.import
left_pallete.png Optimize PNG images using oxipng 2020-08-16 17:48:38 -05:00
left_pallete.png.import
pong.tscn
project.godot Allow hiDPI in all demos that support multiple resolutions 2020-10-01 00:56:12 +02:00
right_pallete.png Optimize PNG images using oxipng 2020-08-16 17:48:38 -05:00
right_pallete.png.import
separator.png Optimize PNG images using oxipng 2020-08-16 17:48:38 -05:00
separator.png.import

README.md

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.

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