No description
Find a file
2025-11-10 10:42:12 +08:00
gdscript/src [build] add clj file 2025-11-10 09:53:41 +08:00
logic [build] init 2025-11-10 08:13:14 +08:00
screenshots [build] init 2025-11-10 08:13:14 +08:00
src [build] add clj file 2025-11-10 09:53:41 +08:00
.gitignore [build] init 2025-11-10 08:13:14 +08:00
ball.png [build] init 2025-11-10 08:13:14 +08:00
ball.png.import [build] init 2025-11-10 08:13:14 +08:00
icon.webp [build] init 2025-11-10 08:13:14 +08:00
icon.webp.import [build] init 2025-11-10 08:13:14 +08:00
paddle.png [build] init 2025-11-10 08:13:14 +08:00
paddle.png.import [build] init 2025-11-10 08:13:14 +08:00
pong.tscn [build] add clj file 2025-11-10 09:53:41 +08:00
project.godot [build] init 2025-11-10 08:13:14 +08:00
README.md [docs] update README.md 2025-11-10 10:42:12 +08:00
separator.png [build] init 2025-11-10 08:13:14 +08:00
separator.png.import [build] init 2025-11-10 08:13:14 +08:00

Pong with Clojure

Language: Clojure

Install Clojure

See clojure docs.

Install Transpiler

git clone https://codeberg.org/southfox/kalai.git
cd kalai
git checkout 8eb6c6e9ea9288f21c08064647ffbbfc56dda6ba
# install project deps
clj -P
# invoke the tool
clojure -M -m kalai.exec.main --verbose --src-dir path/to/clj-godot-pong/src --transpile-dir path/to/clj-godot-pong --watch

Pong with GDScript

A simple Pong game. This demo shows best practices for game development in Godot, including signals.

Language: GDScript

Renderer: Compatibility

Note: There is a C# version available here.

Check out this demo on the asset library: https://godotengine.org/asset-library/asset/121

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