mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-04 15:00:09 +01:00
This is required to benefit from crisp display on hiDPI monitors. This also fixes issues related to fullscreen and input handling when using an hiDPI display on Windows.
Pong with VisualScript
A simple Pong game. This demo shows best practices for game development in Godot, including signals.
Language: VisualScript
Renderer: GLES 2
Note: There is a GDScript version available here.
Note: There is a C# version available here.
Check out this demo on the asset library: https://godotengine.org/asset-library/asset/136
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.
