I believe the problem with the script is this line:
Code:
bitmap.draw_text(0, 0, 10, pos[:height], c)
in process_anim_character. I think there's a similar line in process_name. I didn't read the one he was using for emojis very carefully.
The parameters to that function are draw_text(atX, atY, textWidth, textHeight). You'll notice the script is passing in 10 for the width, which I think is too small. The underlying text rendering will automatically squish text to fit if you try and draw it in a rectangle that's too small, which is my guess as to what's happening here. Further, I've noticed that the underlying text renderer really seems to want a rectangle that's a few pixels larger than the value returned by text_size, for reasons that I could never explain.
Anyway, complicated explanations aside, I think if you replace the 10 with text_width+2, you'll go from something like this:
to this:
Which is right, I think... this script plays with text positioning in the box, but I think that's the same as my game without the script:
I didn't test it, but I'd expect a similar fix would work for the name function.
All this said, this text animation script is super cool
🙂 Maybe'll I'll make use of it too!