I've been working on a prototype demo for an RPG and I have just started on one of five scenarios: guiding a drone through a maze by means of selecting choices to go forward or to turn left or right as needed. I thought I had that squared away by creating switches for the program to know which direction the drone is facing. But, the program acts like it's still facing forward even after I choose the "Turn Left" choice.
In each of these four screenshots, you can see that every time Turn Left or Turn Right is selected, the program is supposed to have the drone turn from the previous direction (the direction whose switch is turned OFF) to the next direction (whose switch is turned ON). Four of the pages are even set to work only if one of the four switches (North, South, East and West) is turned on. But still, the game acts like the drone faces north even if I turn left or right; rather than giving a message that the drone can't go that way, it still moves north as if facing north instead of east or west.
Is there something I'm missing?
In each of these four screenshots, you can see that every time Turn Left or Turn Right is selected, the program is supposed to have the drone turn from the previous direction (the direction whose switch is turned OFF) to the next direction (whose switch is turned ON). Four of the pages are even set to work only if one of the four switches (North, South, East and West) is turned on. But still, the game acts like the drone faces north even if I turn left or right; rather than giving a message that the drone can't go that way, it still moves north as if facing north instead of east or west.
Is there something I'm missing?