Jump to content
Kayzee

Word Wrapping Message Boxes

Recommended Posts

Sure... actually, I don't know what happened, but I copied again and there's no error now... but isn't it supposed to be on by default? It doesn't seem to...

 

Edited by Nereid

Share this post


Link to post
Share on other sites

It should be on by default, but by default it only works if you actually make a line of text that is long enough to need it. Try changing

DEFAULT_WHITESPACE = false

to

DEFAULT_WHITESPACE = true

and it will add all the lines together as one which may make word wrapping more obvious.

Also: Only works for things that use draw_text_ex, such as message boxes and item descriptions. 

Share this post


Link to post
Share on other sites

Kayzee can I just say you are an absolute life saver. I've been working on a game which is mostly text based for the last couple months and I'd reached a breaking point with this issue. I'm much more used to writing without having to focus constantly on if my text is the correct size. That extra friction to writing was so draining and having it gone has really added the fun back to writing the dialogue for my game. Thank you so much!

Share this post


Link to post
Share on other sites

Aww shucks, glad I was able to help! *sprinkles fairydust on you*

Share this post


Link to post
Share on other sites

Though unfortunately today I did some testing and it seems I'm having some errors with it and its messing up a lot of my text. Is there a way I can avoid this? 

Error.png

Share this post


Link to post
Share on other sites

I am glad you figured it out!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted