The answer to my tutorial conundrum was staring me in the face all along: Quests. Today I set up a fully-functioning first quest, which also acts as a brief tutorial on how to acquire items. It’s just a proof of concept, but it includes every piece of a more complex quest:
- Trigger to receive the quest (game starts)
- Objectives (acquire the sword)
- Game tick handling to check for objectives being met (player has sword)
- Game tick handling to end the quest (all objectives met)
Still running into occasional problems with prototype behavior in JS, but I’m slowly figuring it out.