User Tools

Site Tools


twine_1.4.1_release_notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
twine_1.4.1_release_notes [2014/01/11 11:53]
l
twine_1.4.1_release_notes [2017/10/09 20:39] (current)
Line 58: Line 58:
  
 ====Game engine==== ====Game engine====
-  * The StoryMenu now auto-updates when you change passages!! The code is re-executed and re-rendered into the element. (This also applies to StoryAuthor,​ StoryTitle and StorySubtitle).+  * The StoryMenu now auto-updates when you change passages!! The code is re-executed and re-rendered into the element. This means you could, say, <<​print>>​ a variable inside it, and it would update automatically. (This change ​also applies to StoryAuthor,​ StoryTitle and StorySubtitle).
   * Added the tags() [[function]],​ which takes one or more strings and returns an array of the tags of the given passage (or the current passage if no name is supplied).   * Added the tags() [[function]],​ which takes one or more strings and returns an array of the tags of the given passage (or the current passage if no name is supplied).
   * Added passage(), which simply holds the name of the current passage (If a passage is being <<​display>>​ed by another, passage() is the name of the "​topmost"​ passage.)   * Added passage(), which simply holds the name of the current passage (If a passage is being <<​display>>​ed by another, passage() is the name of the "​topmost"​ passage.)
twine_1.4.1_release_notes.txt ยท Last modified: 2017/10/09 20:39 (external edit)