Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Need an online leaderboard?

A topic by Pet Pumpkin created Aug 19, 2020 Views: 160 Replies: 5
Viewing posts 1 to 3

Hey folks, over this past week I've been working on putting together an online leaderboard guide and package. 

It's small and ideal for future game jams.

I've wanted to give something back to the game dev community. Hopefully some people find use for it.

You can find it here.

Submitted

Hey! Looks interesting. What advantages does your package have over dreamlo?

Oh wow, I wish I'd heard of Dreamlo before! It seems really nice and easy to use, probably had I known about it I wouldn't have bothered making QDLB lol

I would say the only advantage is that the scores from your game are stored on your own server (which QDLB guides you through setting up for free).

Submitted (1 edit)

I was wondering how I could do something like this for a browser based game. I had a look at dreamlo as the other comment suggested it, but if I use my secret key in my code, couldn't people just look at the code and add a bunch of fake scores?

Is there a way I can add environment variables to a web based itch app so I can hide variables like keys for an online leaderboard?

(Should I be asking this somewhere else?)

When you say browser based do you mean a game written in HTML/JavaScript?

I suppose you could obfuscate your secret code a bit to prevent people easily using it. 

I'm not too sure about environmental variables though sorry.

Submitted

Yeah, I do mean that - right now anyone can go to my game's page, open the developer tools and look at the source code.

Obfuscating the code seems like the best option, thanks.