Your Computer
SCAN ME!
Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation:
235
|
RE: Let's play "why doesn't my script work?"!
I don't think there's a way to reset the internal state for the valves, but gameplay wise i don't think that should be an issue. As far as the player is concerned, he just needs to turn a few valves, and a door opens. Why should they expect the door to close at any point after completing the puzzle? Why would the door require being closed for not getting the combination correct (since, presumably, the door is in a closed state by default)? Why should the valves be rotated to a 0 angle when rotated to the wrong state when the trial and error process is pretty much the same where valves do not try to reset their states when the puzzle is done incorrectly? Your code can be reduce to 1/4 to 1/3 or less of the current code and still get the same results.
|
|
04-13-2013, 02:47 AM |
|