Main Menu
  • Welcome to The RPG Maker Resource Kit.

draw_text

Started by Sthrattoff, June 26, 2008, 05:37:30 AM

0 Members and 1 Guest are viewing this topic.

Sthrattoff

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?
Symphony of Alderra : Memoirs of Life

Storyline : 200% (Overimaginatives)
Scripting : 100% (At last...)
Eventing  : 100%
Mapping   : 0.125%

ahref

as far as i know you just use another draw text method on a new line of the script.

Sthrattoff

Then how to cut the string?
Symphony of Alderra : Memoirs of Life

Storyline : 200% (Overimaginatives)
Scripting : 100% (At last...)
Eventing  : 100%
Mapping   : 0.125%

ahref

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 :(

Falcon

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.

Sthrattoff

Is there no automated method?

Like modify draw_text, or something so it will automatically make two line?
Symphony of Alderra : Memoirs of Life

Storyline : 200% (Overimaginatives)
Scripting : 100% (At last...)
Eventing  : 100%
Mapping   : 0.125%

modern algebra

My Paragraph Formatter can do it for you if you like.