A classic Pong game built with Godot 4. This project is for personal learning.
How to export the game:
- Open the project in Godot 4.
- Go to Project → Export....
- The Windows Desktop preset is already configured.
- Click Export Project..., choose a location, and save.
- Check Export as ZIP for a compressed archive, or uncheck it for a standalone
.exe+.pck.
- Check Export as ZIP for a compressed archive, or uncheck it for a standalone
- To run, extract the ZIP (if applicable) and launch the
.exe.
Note: You need the Godot export templates installed. Godot will prompt you to download them if missing (Editor → Manage Export Templates → Download and Install).
Builds are uploaded using butler, itch.io's command-line tool. https://newguyalbert.itch.io/pong-1
-
Download butler from https://itch.io/docs/butler/
-
Log in once:
butler login
butler push <path-to-export-zip> <itchio-user>/<game-slug>:<channel>For example:
butler push exports/pong_windows.zip myuser/pong-1:windowsSubsequent pushes to the same channel only upload the diff, so updates are fast.
butler status <itchio-user>/<game-slug> # List all channels and versions
butler unpush <itchio-user>/<game-slug>:<channel> # Remove a channel entirely- Install the Godot Tools extension.
- Go to Settings → search for Godot Tools › Editor Path and set it to the path of your Godot 4 executable.
Install gdtoolkit for GDScript formatting and linting:
pip install gdtoolkitFormat all files from the project root:
gdformat .To format automatically in VS Code, install the GDScript Formatter & Linter extension.
See LICENSE for details.