You can now disable the scrollbar which will use the old text transposing
Added a Option for the scrollbar to follow the text
Regex is now used for tag checking
Added the signal tag which emit a signal when read
Text hide and pause can support more than 10 seconds/ticks
You can manually hide/pause printing
You can stop advancement of dialogue
Regex
Regex is now used for tag checking, i am not sure of any improvement/drop in performance but i have not noticed any. This now means that tags can have a variable width so you can have tags being from 3 letters to basically any amount. This should help with tag creation.
Tags are checked with this regex: (?:\[.+?\]). Tags need to start with [ , need to have content inside of them (a character inside), and end with ]. You can have any type of character inside a tag including whitespace.
You can test the regex pattern here: https://regexr.com/5eaih , this is the one that is used right now but if you have a better idea on what to do then it can be changed easily.
I also updated some of the tags to be able to handle this (Mainly tag hiding and printing)
Manual Control
You can now manually pause and hide the text and of course resume them.
You can also stop advancement of dialog, automatic or from input.
This can be used for timing dialog to events on screen or when you are unsure of timing (like pausing text waiting for a player to do an action)
Signal Tag
This is a new tag that looks like this [@identifier], this @ is used for tag matching. This tag sends a signal to signal_tag when it is read.
You can have a identifier in the tag so multiple objects can use it and not have all of them get activate at once.
This can be used in conjugation with manual control so hiding the text box when a cut scene is about to play and resuming it once it finished.
Regex
Regex is now used for tag checking, i am not sure of any improvement/drop in performance but i have not noticed any. This now means that tags can have a variable width so you can have tags being from 3 letters to basically any amount. This should help with tag creation.
Tags are checked with this regex:
(?:\[.+?\])
. Tags need to start with [ , need to have content inside of them (a character inside), and end with ]. You can have any type of character inside a tag including whitespace.You can test the regex pattern here: https://regexr.com/5eaih , this is the one that is used right now but if you have a better idea on what to do then it can be changed easily.
I also updated some of the tags to be able to handle this (Mainly tag hiding and printing)
Manual Control
You can now manually pause and hide the text and of course resume them. You can also stop advancement of dialog, automatic or from input.
This can be used for timing dialog to events on screen or when you are unsure of timing (like pausing text waiting for a player to do an action)
Signal Tag
This is a new tag that looks like this
[@identifier]
, this @ is used for tag matching. This tag sends a signal tosignal_tag
when it is read.You can have a identifier in the tag so multiple objects can use it and not have all of them get activate at once.
This can be used in conjugation with manual control so hiding the text box when a cut scene is about to play and resuming it once it finished.
i think that all the changes i made