Password puzzles

Started by MoonDog, Wed 24/06/2015 18:30:03

Previous topic - Next topic

MoonDog

Hey guy

Not sure if I should ask this here or at the advance section but
How would I go about making a password puzzle for my game?
Like you can tap any combination of codes but the safe won't open
Until you have a piece of paper with the password.

Cassiebsg

You just do a if/else condition.

If "player has piece of paper" and "enters the right code"
    open safe!
Else
    do nothing...

(laugh)(laugh)
Note: (not exact code, but should help you get on the right track. ;) ).
There are those who believe that life here began out there...

selmiak

I'd have the correct code open the safe anyways, and not only accept the code once the code was discovered, this makes such puzzles much more rewarding. If you randomly create the code every gameplay I'd generate it at the beginning and still have the correct code open the safe.
If you are going for a use piece of paper with combination on it with safe to open the safe kind of gameplay, boo for you, code a password entry screen and see above ;)

SMF spam blocked by CleanTalk