+1 vote
504 views
by (243 points)
view edits | retagged by

I once tried different things in order to get a frame around my text, e.g. when participating on a special level screenshot. I never tried it out more in detail, once I had my desired text and frame. But how are line breaks made in text messages (including public, yelling and private messages)??

For example I also often saw people writing a cool big face by using different chars and line breaks.

Here is, what I tried once:

 - \'o'/ ~~ Level Five - Zero - Zero ~~ \'o'/- -abcdef the 5! You are still ABCDE No. Zero!- ~--------------------------------------~ ~~~abcde fg hijklmnop longword~~~ Congratulations, Mister Name =) ~--------------26-12-2020--------------~

I edited it a little to hide some personal messages ^^

This is how it looked:

Also, what is the limit of chars / words for text messages in game?

Thank you in advance!

1 Answer

+3 votes
by (1,526 points)
view edits | edited by

255 characters is the limit for any sort of message you send, both public and privately. Here is an example of message with maximum length.



I initially thought this could've been a database restriction, since 2^8 equals 256, meaning character encoding could've been an additional restriction to our list, meaning special characters like vowels with umlaut, which take more than one byte, would make our 255 character limit lower, but that's not the case, as you can see in the next image.



I also first thought the amount of characters per line was set since lots of cases limited them to 36 characters, but I quickly realised that was not the case. It seems characters per line are limited by pixels, where a sentence is limited to 288 pixels, so line breaks depend on how wide the characters you're using are.

...