3D Stacking Game built with Godot 4.7, featuring a real online leaderboard
I'm learning game development and wanted a small, complete project to actually
finish and ship — not just another tutorial follow-along. Stacking Game is a
3D block-stacking game (think Stack/Tower Blox) built entirely in Godot 4.7
using GDScript, with every scene generated through code rather than manually
placed in the editor.
What it has:
- Core stacking mechanic with block-cutting physics when you misalign a drop
- Procedural gradient sky, ambient fire particles, and a floating animated title
- A real online leaderboard — scores are stored in a Supabase Postgres
database and fetched live, so it's an actual global top 10, not a local mock
- Background music and SFX
- Deployed to the web via Godot's HTML5 export, hosted on Vercel
Biggest lesson: Godot's built-in HTTPRequest node has a known limitation
reading response bodies in Web exports (works fine on desktop). Had to bypass
it using JavaScriptBridge to call the browser's native fetch() directly for
the leaderboard GET request — that was the trickiest bug of the whole project.
Built with a lot of back-and-forth with Claude, going from "how do I even
start" to a deployed game with a working backend.
Tech stack
- Claude Code
- GitHub Copilot
- Supabase
- Vercel
Links
Prompt
I'm learning game dev with Godot 4.7 on Ubuntu/WSL. Help me build a simple
but engaging 3D stacking game (like Stack/Tower Blox) — walk me through the
core mechanic (moving block, drop-to-place, cut the misaligned overhang,
game over on miss), then help me polish it: better lighting/background,
animated UI, background music and SFX, and finally add a REAL online
leaderboard (not local-only) using Supabase, so scores are genuinely shared
across everyone who plays. Also help me get it exported to the web and
deployed on Vercel, and debug issues along the way (WSL DNS problems, Git
push errors, a Godot Web export bug where the leaderboard fetch silently
failed).
19 likes · 6 comments · 28 views
Comments (6)
Sasam is amazing!🔥
reminds me of stack. You should definitely add a leaderboard to it
<p>A nice 3D stacking game with real online leaderboard.</p>
<p>Stacking games are addictive. I'll check it out!</p>
Small complete games teach way more than giant unfinished ideas. Online leaderboard was the right call too, because now every run has a reason.
a smooth graphic !