- here’s some door with a collision box:
- the code is in the string variable
- the graph of the door actor:
- when we enter the box, create a focusable widget with an
Editable Box
, add it to the screen and give itKeyboard Focus
- as we type, the editable text’s event triggers the checks in the door actor
- we check the length of the entered text; when equal, check for matching text
- if it does not match, the text field is reset
- if it does match, we get rid of the widget open the door with a timeline
This will need more work, obviously but the method should be sound.