The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: Sthrattoff on June 26, 2008, 05:37:30 AM

Title: draw_text
Post by: Sthrattoff on June 26, 2008, 05:37:30 AM
Help! I got a question to answered.

Example, if you put an EXTREMELY LONG string on draw_text that has 480x64 size, you'll get it compacted instead of make it into two lines.
How can I make it two lines instead compacting it. The standard size is widthx32, right?
Title: Re: draw_text
Post by: ahref on June 26, 2008, 06:36:39 AM
as far as i know you just use another draw text method on a new line of the script.
Title: Re: draw_text
Post by: Sthrattoff on June 26, 2008, 02:04:40 PM
Then how to cut the string?
Title: Re: draw_text
Post by: ahref on June 26, 2008, 06:25:42 PM
if the string is generated by you typing it then youll have to experiement and try to find the length at which this occurs. if its dynamically generated the same except more complicated :(
Title: Re: draw_text
Post by: Falcon on June 26, 2008, 09:26:54 PM
Strike 1, this belongs in script help.

You can try to use a conditional statement and see if you can check the length of the string.
Title: Re: draw_text
Post by: Sthrattoff on June 27, 2008, 12:48:18 AM
Is there no automated method?

Like modify draw_text, or something so it will automatically make two line?
Title: Re: draw_text
Post by: modern algebra on June 27, 2008, 02:37:50 AM
My Paragraph Formatter can do it for you if you like.