Nice idea! This game is like playing Shaolin Soccer!
Rekize
Recent community posts
I am trying something like:
if (superText.latestNumber <= TMPDummytext.text.Length) {
superText.readDelay = 0.02f;
superText.Read (dummytext.text.Length*0.02f);
} else {
superText.readDelay = 99999999f;
superText.Read (dummytext.text.Length*0.02f);
}
where dummytext is the text being controlled by the third party tool. But the stm.Read(float time) sometimes don't match the dummytext reading time. Is there a way to do stm.Read(int characterIndex) to make STM read from the character index?
stm.latestNumber seems to be the right direction to go.
But for the pause, if I use Append(), I seem not being able to use the Fade (or others) read out effects;
if I change the readDelay parameter to achieve pause, I need to call stm.Read() or stm.Rebuild() each time I change the STM setting by script, and the stm will read from the start again. This happens even I checked stm.rememberReadPosition. What else can I try?
Thanks for your reply.
Actually I am using a third party tool to control the dialog, thus putting <pause> into the dialog may not be feasible in my case. Because of my issue......it would be great if there are ways to fully control the reading and pausing using scripts.
About the length, I mean the number of characters had been read out. Like if the full text is "Hello World", and it is has been read out as "Hello W", I wish the function can return 7. Would stm.info[stm.latestNumber] do the trick?
Hello, my first post here. I would like to put my game on itch.io. I wish to make the game first half as free to play, and then the player has to pay for the second half. May I ask does itch.io support IAP? Particularly for games made by Unity?
Otherwise, may I use Paypal IAP inside the game? Or are there other solutions that can achieve the desired effect and work best for itch.io?
Thank you very much for your help.
Hello, may I ask is there a way to make STM show first N characters while hiding the rest?
In my case, all the character has to be in the STM from the beginning, so I cannot use append to add the hidden characters later.
Also as the number "N" changes from frame to frame, I also can't use <delay> or <c> to achieve the effect...
Are there any ways to achieve the desired effect? Thank you for your help.
Thanks!
Setting the material that uses the STM/UI/Default shader mask mode to "Outside" works!
I deleted the Legacy shaders, but see no notable difference as I am not using any. Turned out the console errors only display after the update, and disappeared after relaunching Unity.
It worked without reimporting the "Shaders" folder. I tried reimporting it too, but no notable difference is seen in my use case.
I have tried one by one but still no luck:
1. The asset serialization mode is already "Force Text".
2. Deleting the whole STM folder and re-import it from Asset Store.
3. Re-apply the shaders. Then I found most shaders works, just the STM UI shader doesn't work. Even STM UI Dropshadow and STM UI Outline work.
I also found the 3D STM element works, but not the UI STM element.
By thw way I forgot to mention that, after importing, the console showed many similar errors of " There Surface shader function 'surf' not found at line xx" in many files. I am using Unity 2018.1.4f1. Hope this info. helps...
Hello, I just started with Super Text Mesh, it looks really cool! But right after importing my editor console shows an exception 3 times:
MissingReferenceException: The variable font of SuperTextMesh doesn't exist anymore.
You probably need to reassign the font variable of the 'SuperTextMesh' script in the inspector.
SuperTextMesh.OnValidate () (at Assets/Clavian/SuperTextMesh/Scripts/SuperTextMesh.cs:1097)
My I asked does it matter?