https://github.com/mujtaba-io/godot-pong-game
Pong game made in Godot engine 4.3.
https://github.com/mujtaba-io/godot-pong-game
atari game gamedev godot pong
Last synced: about 2 months ago
JSON representation
Pong game made in Godot engine 4.3.
- Host: GitHub
- URL: https://github.com/mujtaba-io/godot-pong-game
- Owner: mujtaba-io
- License: mit
- Created: 2024-10-12T15:41:05.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-02-05T15:35:19.000Z (8 months ago)
- Last Synced: 2025-03-27T18:50:01.691Z (7 months ago)
- Topics: atari, game, gamedev, godot, pong
- Language: GDScript
- Homepage: https://gameidea.org/2024/10/05/make-pong-game-in-godot/
- Size: 21.5 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Godot Pong Game
Pong game made in Godot engine 4.3. This is written for my [pong game tutorial](https://gameidea.org/2024/10/05/make-pong-game-in-godot/). Pong simulates table tennis (or ping pong) like game in 2D.
The tutorial teaches some of the things such as:
- Making a rigid body based ball in Godot, so ball can float freely in space and react when collision occurs.
- Two rackets or pedals that we can use to hit the ball.
- Logic for separate players. The racket/pedal is same, but controlled by two separate input events.
- Ball spawning. When goal occurs, ball de-spawns and respawns for next round. This logic is written in level script.
- Goals as in table tennis. When ball misses any racket and hits an area on the left or right edge of screen, it is a goal for the opposite team.
- Score updating for both the players. GUI labels are updated for scores.