Daily Nugget # 2: Triggering scenes and showing the current scene on the status line

Hi all,

Although pieces of the code below are also in this thread: https://intfiction.org/t/question-feedback-about-labaratory-tech-help-vs-forum/61120 I wanted to put it together and give it a more logical title so future me can find it back.

Basically we add two flags to the scene (imminent and wrapping up) so the author can trigger the scene starting or ending at any time. In the example below I use the jumping action to start or end the “jumping around” scene.

We also add a scene-desc text to the scene so we can use this to display the “active scene” on the status line (this only works if we have at most one scene active next to the default “Entire Game” scene.)

5 Likes