How do I distribute unique licence keys?

0 favourites
  • 2 posts
From the Asset Store
Piano Keys
$3.99 USD
A musical typing game where the goal is to play a song by pressing the matching keys as fast as you can!
  • Hey All,

    When I buy a game, I get a licence key for that so that I may download that game again if I loose it like a dumbass, without allowing me to download more versions of the same game.

    How does this work? Who makes those licence keys?

    I'm thinking of self-publishing so just doing some research

    Thanks a lot!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • you need to create a hash algorithm. and you need a database.

    once a player registers - you send him a game key (example: 3D5B8-A3B8-etc.. ) and for that key you save yourself a HASH

    that is generated once you pull through the whole key. (example, you get something like this: a7asdas7a6d876asdgdk12jb124).

    that algorithm must give the same hash for that cd key EVERY TIME.

    so when someone uses that CD KEY if hash is correct - enable download to that person (or whatever). OF course you can't control if it's the same person, but kinda does half of the anti-piracy job (example: i buy your game and give cd key to some friend. he plays your game like he's me but he's not me )

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)