This week, I have been working on items and how their pickup can trigger a dialogue, a cutscene, and/or unlock part of a level.
Note how the purple/gold door is opening only at the end of the dialogue.
I have attached a screenshot of the code below. The on_card_pick_up() starts an animation in the CutSceneManager, which calls Dialogic to start a dialogue at a specific line (OnCardPickedUp). Then Dialogic sends a signal "Scene2_Ending" which is processed by on_cutscene_finished() and opens the door.

As usual, all the code is available in the github repo of the starter kit:
https://github.com/Nodragem/twin-stick-shooter-starter-kit
I improved the explanation on how to install the kit for the first time (as there are now add-ons to install!)
By the way:
- let me know if there are specific things you would like me to add to this kit next?
- I am considering changing the name to something like Top-down Action/Adventure starter kit as it turns to be less of a shooter than expected 😃 what do you think?
Also, I will probably release a .exe directly downloadable soon, but I am waiting to add proper mouse/keyboard controls.