Report as inappropriate.
I am new to Greenfoot and programming. I am trying to start off with a simple project that involves acquiring a key to open a door. Right now, the player can get the key, but it does not matter. The door will open and proceed to the next scene regardless of the key. My question is how do I do I get the door to only open after the player has obtained the key? Are there any scenarios similar to this that I can study to understand the process? Any examples or guidance would be appreciated.
To embed this scenario in a web page, copy the following HTML code:
Want to leave a comment? You must first log in.
No votes yet.