Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Very nice tutorial but how can I make the gallery to require an unlock code?

(1 edit)

Thank you! Do you mean persistence? If so, you can see it here: Blue_button

I want to lock the whole gallery and only allow people with a code (a word or numbers) to unlock it and gain access to the images.

That's a good game idea!

  1. You'll need an input window: Input Video
  2. You'll check for the code. Let's say you keep your variable as povname where 12345 is the passcode.
if povname == "12345":
    $ persistent.blue_unlocked = True

3. You need lines 7-9 of this video: Blue_button

If you have any other questions, you may contact me on Discord: _zeil

(+1)

Thanks for the help :)