Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

For personal high scores you can use Godot to save into a config file in the browser user folder. That makes it persistent without having to do anything. I actually have a blog post in my personal website about how I implemented high scores and a leaderboard in my game. You can read it here: https://stadyn.dev/en/blog/leaderboard-cloudflare-d1/

I must say, for the online leaderboard I used Cloudflare because I’m a programmer so making the code myself is not a problem and I already use Cloudflare for my website, so it was a quick solution. If you’re a newbie I’d recommend using Supabase or Talo (Talo even has a Godot integration to make it even easier). I included links to tutorials on how to create leaderboards with them in the blog post just in case you wanna use them. For the local high score you can follow my tutorial, it’s just two functions and a function call when the run ends.

Aw sh*t, I now realized you use GameMaker, sorry haha. Not sure how to do it there. I guess the same principle of saving data into the user folder applies, as saving it there lets the browser do the persistence between sessions, so it’s independent of the game engine you use. It’s probably very similar.