Update 3 - Flowchart, Events, and Internal Variables - site blog post
It’s been a while since I made an update. PSE is still alive and kicking, and I’ve made some awesome additions.
Flowchart
The flowchart is a visual representation of your story. Every node represents a statement in your story. The first node is the story object, the next level of nodes are acts, the next are scenes, and each scene has its statements below it. It is still in its beginning stages, and is nowhere near finished. The aim of having a flowchart in PSE is to allow the you to visually see how your story flows. It allows you to see which places have more “substance” than others.
http://pezna.com/blog/wp-content/uploads/2015/10/flowchart1-300x236.png
Flowchart prototype of a story.
The edges (connecting lines) are currently not organized, and therefore it looks very ugly in its current state.
Events
Previously, event statements could only take a single value/variable. Now, they can take multiple values separated by commas.
http://pezna.com/blog/wp-content/uploads/2015/10/event1.png
An event that sends multiple values when it is triggered.
Internal Variables
Internal variables are variables that are initialized automatically by PSE, not the user. They contain information about the story, and the current position with blocks. Currently, the only internal variables available are:
- story.name - This variable contains the name of the story
- act.name - This variable contains the name of the current act.
- act.label - This variable contains the label of the current act, if it has a label.
- scene.name - This variable contains the name of the current scene.
- scene.label - This variable contains the label of the current scene, if it has a label.
- choice.text - This variable contains the display text of a selected choice. Note that if this is used outside of a choice-block, it will contain the display text of the last selected choice. If no choice has been selected in the entire run of a story, it will be blank.
Only story.name can be used outside of a scene-block. For example, you can initialize a variable to the name of the story, but you cannot initialize it to scene.name because there is no current scene.
http://pezna.com/blog/wp-content/uploads/2015/10/internalvariables1.png
Example of internal variables being used.
Be sure to follow me on twitter: @pezna_official