|
5 éve | |
---|---|---|
.. | ||
scripts | 5 éve | |
README.md | 5 éve | |
ball.png | 5 éve | |
ball.png.import | 5 éve | |
icon.png | 5 éve | |
icon.png.import | 5 éve | |
left_pallete.png | 5 éve | |
left_pallete.png.import | 5 éve | |
pong.tscn | 5 éve | |
project.godot | 5 éve | |
right_pallete.png | 5 éve | |
right_pallete.png.import | 5 éve | |
separator.png | 5 éve | |
separator.png.import | 5 éve |
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.
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.