Hello! I’ve been trying to make a rich text system for my game and right now I am trying to make text wrapping.
I have the position of the text in pixels and the textbox size in pixels.
If I was going to wrap the text by each character It wouldnt be a problem but I want wrap it by words and to solve the line number in one loop. Even if I went word by word I would have to have two loops because it would have to go through each character.
Why am I not using the default rich text system? Because it doesnt support animations. Why am I not using the Rich Text Markup module by Defaultio? Because I want to make my own (for fun obviously)