Closed Hotrian closed 8 years ago
Here's a little teaser towards that end.
Unfortunately, I seem to have run into a bug in Unity that causes crashing when adding more than two Quads to a TextMesh in a single frame and this will require further research and development.
Impending, but still no ETA.
Turns out I was wrong about the last problem (Unity just didn't like that I was building the quad string piece by piece, and for some reason broke reliably with the third quad after x=0 was pushed to the TextMesh.text):
But now there's a new one:
This is probably going to require a huge rewrite..
With 816f3bf2136e6edc8cbf94df2db03785bae15882 support for up to 7 unique emotes per line (and any number of those 7 uniques per line) now exists. There are still a number of bugs to work out, and it needs to be cleaned up quite a bit, but hey! Emotes are working in most cases :). I tested this on an extremely busy channel (>20k viewers) so it should work even when the users are spamming the chat like mad.
There seems to be some bug with setting TextMeshes with Quads really fast, but I haven't pinned down the exact cause yet.
I'm gonna close this for now since technically they are supported, but I'm opening #11 to address the bugs they introduce :)
This is on the table, but not implemented yet. I need to add some material recycler that lets me load and unload emotes on the fly, because Twitch has so many damn emotes.
This is incoming, but there is no ETA.