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 10:59]
l [Game engine]
twine_1.4.1_release_notes [2017/10/09 20:39] (current)
Line 1: Line 1:
-**Twine 1.4.1** is not released yet.+**Twine 1.4.1** is a maintenance update for Twine 1.4.
  
 Here are the fixes: Here are the fixes:
Line 22: Line 22:
    
 ====Game engine==== ====Game engine====
-  * Fixed a bug where putting "​Lookup:"​ in the StorySettings could potentially crash the game. 
   * Fixed passages with names containing quote marks being unrecognised by links.   * Fixed passages with names containing quote marks being unrecognised by links.
   * Fixed HTML tables in passages not being constructed correctly.   * Fixed HTML tables in passages not being constructed correctly.
Line 49: Line 48:
   * Now, only the StoryTitle passage'​s text content will be used for the window title, instead of its raw code.   * Now, only the StoryTitle passage'​s text content will be used for the window title, instead of its raw code.
   * Now, if a story has no StoryTitle, or the StoryTitle has no text content, it will default to the name of the .tws file used to build it, instead of just "​Untitled Story"​.   * Now, if a story has no StoryTitle, or the StoryTitle has no text content, it will default to the name of the .tws file used to build it, instead of just "​Untitled Story"​.
-  * Added a sanity check in case a script overrides History.prototype.display() but doesn'​t pass enough arguments (since in 1.4 it takes 4 arguments instead of 3).+  ​* Fixed a bug where putting "​Lookup:"​ in the StorySettings could potentially crash the game.  ​* Added a sanity check in case a script overrides History.prototype.display() but doesn'​t pass enough arguments (since in 1.4 it takes 4 arguments instead of 3).
   * Fixed HTML <​table>​ structures in passages not being rendered correctly.   * Fixed HTML <​table>​ structures in passages not being rendered correctly.
 =====Additions===== =====Additions=====
Line 59: 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.)
Line 79: Line 78:
   * Altered Responsive'​s CSS to make the body background easier to change.   * Altered Responsive'​s CSS to make the body background easier to change.
   * Altered the CSS for all targets to make StoryMenu contents display better.   * Altered the CSS for all targets to make StoryMenu contents display better.
-  * Individual script or stylesheet passages may request the inclusion of jQuery or Modernizr, overriding the StorySettings options, by including in their code the case-insensitive string "​requires jQuery"​ or "​requires +  * Individual script or stylesheet passages may request the inclusion of jQuery or Modernizr, overriding the StorySettings options, by including in their code the case-insensitive string "​requires jQuery"​ or "​requires Modernizr"​. This enables jQuery-using scripts or Modernizr-using CSS to be easily pasted into stories without requiring any other modifications to the story.
-Modernizr"​. This enables jQuery-using scripts or Modernizr-using CSS to be easily pasted into stories without requiring any other modifications to the story.+
twine_1.4.1_release_notes.1389455981.txt.gz · Last modified: 2017/10/09 20:38 (external edit)