tmedwards / sugarcube-2

SugarCube is a free (gratis and libre) story format for Twine/Twee.
https://www.motoslave.net/sugarcube/2/
BSD 2-Clause "Simplified" License
177 stars 41 forks source link

feat: add pause functionality in "type" macro for specific characters #334

Closed Raven-Book closed 2 weeks ago

Raven-Book commented 3 weeks ago

When using "type", I'd like to include slight pauses at symbols like commas, periods, and exclamation points. This will give the impression of natural pauses in speech.

Usage example:

<<type 100ms pause 300ms regex "?.?。,,*">>
Caveat for Internet Explorer: SugarCube only supports IE ≥9.
So, users of Windows XP (who are limited to IE8) will not be able to play/view stories built with SugarCube with their version of IE. 
<</type>>