I have created a typewriter effect using the Left$(string$( "real_text" ), Len(string$( "type_text" ))+1) method.
The text is displaying using the Character Image object.
I have used 2 different Aliases so certain words can appear in different colours.
The problem is: when the Character Image object switches from one Alias to another, there is a noticeable delay in the typing.
Caused by either the Character Image object loading the new tileset, or the [alias=1] tag being 9 characters in length which aren't displayed but MMF having to count them.
Can anybody think of a way around this delay. I'm using MMF2 Dev HWA.
The text is set to: "Will you take the (Handgun Bullets)?*"
When the typing reaches the "(" character, it inserts "[alias=1]"
When the typing reaches the ")" character, it inserts "[/alias]"
When the typing reaches the "*" typing is stopped.
So by the end of it, the text will read: "Will you take the ([alias=1]Handgun Bullets)[/alias]?*"
But only: "Will you take the Handgun Bullets?" is displayed.
"Handgun Bullets" being written in green.
Hopefully this will help somebody somewhere someday. Ok bye.