|
|
преди 4 години | |
|---|---|---|
| .. | ||
| Logic | преди 5 години | |
| screenshots | преди 4 години | |
| Pong with C#.csproj | преди 4 години | |
| Pong with C#.sln | преди 5 години | |
| README.md | преди 4 години | |
| ball.png | преди 5 години | |
| ball.png.import | преди 4 години | |
| icon.png | преди 5 години | |
| icon.png.import | преди 5 години | |
| paddle.png | преди 5 години | |
| paddle.png.import | преди 4 години | |
| pong.tscn | преди 4 години | |
| project.godot | преди 4 години | |
| separator.png | преди 5 години | |
| separator.png.import | преди 5 години | |
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
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.