Demo game

Play Star Raiders

A 60-second space shooter made in Godot 4. The game itself is simple on purpose: the point is what's behind it. Signing in, the live leaderboard and your cloud save all run on a backend generated by BackendGen.dev, through the Godot client in the same download.

STAR RAIDERS

Pick a gamertag, score as much as you can in 60 seconds, and see your name on the live leaderboard.

About 10 MB. Mouse, touch or the arrow keys.

Your gamertag belongs to the browser you first play in: come back in the same browser to keep it and your best score. Gamertags with rude words are refused by the backend's word filter.

What the backend is doing

Nothing here is a mock-up. It's the same backend you'd download, with the Advanced Add-on's leaderboards and cloud saves switched on, running on a small server.

👤 Sign-in

Your gamertag is tied to this browser, so nobody else can play as you. New names go through the word filter.

🏆 Live leaderboard

Today and all time, ranked by the server. Scores outside the allowed range and too many submissions are refused.

☁️ Cloud save

Your best score and games played are saved on the server, so they're there next time on this browser.

main.gd: the game's backend calls (Godot 4, GDScript)
var r = await Backend.sign_in(gamertag)
if not r.ok:
    show_error(r.error)          # e.g. "That name is not allowed."
    return

var save = await Backend.cloud_load("best")
# ... play for 60 seconds ...
await Backend.submit_score("highscore", score)
await Backend.cloud_save("best", {"best": best, "games": games})
var today = await Backend.leaderboard("highscore", "daily", 10)

Make the backend for your game

The same features, for your Unity or Godot game, with the full source code. Try the generator free with an account.