I hope the text aligns properly and 0 typos.
I also used a different control structure from the lesson.
I also made some sort game dev doc while making this since i was taking time envisioning stuff in my head when i can just write it down.
Scenario 1: Cell
Player needs to examine items to help their character escape the prison cell.
Items of Interest:
Cell
Sheets
Mirror
Lock
Food Tray
Flags:
Acquired_Mirror
> boolean
> if true during Lock examination player can check the lock’s buttonsAcquired_Cocoa
>boolean
> if true during Lock examination player can choose to dust lock’s buttons with cocoa powder
Lock_Dusted
>boolean
> if true when player examines lock’s buttons using mirror he can press the button combination to unlock the cell
Interactions on Items of Interest:
Cell
player can examine items on the cell to examine: sheets, mirror, lock. food tray
Sheets
when on focus text description displays
player can choose to go back to cell’s choices of items to inspect
Mirror
when on focus text description displays
acquirable
when player selects to acquire mirror, inspecting mirror from the cell’s list of interaction gets removed, sets Acquired_Mirror flag to true
if player chose to not pick up the mirror he can return to cell’s choices of items to inspect without changing the Acquired_Mirror flag
Lock
when on focus text description displays
player can choose to go back to cell’s choices of items to inspect
if Acquired_Cocoa is true, player can choose to dust the locks
if Acquired_Mirror is true, player can inspect lock the buttons
if both Acquired_Mirror and Lock_Dusted flags are true, player can escape
Food Tray
when on focus text description displays
player can choose to go back to cell’s choices of items to inspect
can acquire cocoa from food tray, sets Acquired_Cocoa to true
if player chooses to acquire cocoa while Acquired_Cocoa flag is true, a message will say he already took it with a return to previous message action.
Lock specifics
A_M A_C L_D Interaction
0 0 0 Description, Return
1 0 0 Description, Return, Inspect
0 1 0 Description, Return, Dust
0 0 1 State doesn’t exist
1 1 0 Description, Return, Inspect, Dust
0 1 1 Description, Return
1 1 1 Description, Unlock
It might be that what I did was messier than the example. Please share your thoughts.
Could you upload a WebGL build please?