Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

I have a question about passwords in games, and this also applies to the game LATE TO THE PARTY.

When you replay a game that contains passwords and they are not random, you know them from the beginning of the game.
Do these passwords have to be accepted, even if the player did not learn them during that part of the game, or is it better to place a flag like is_know_passwords, and test it to see if the player really knows them from the game he is currently playing?
What is the common usage?

I think either is ok (if passwords are non random). Depends how strict you like to be. No harm in using is_know_passworda, but I think it's a fringe problem. If the player already knows the password then they already played the game to know them, so what does it matter if they cut a corner on subsequent runs?

Unless you are using password knowledge to assume so other pre requisite action has taken place (not recommended).