Main Menu
  • Welcome to The RPG Maker Resource Kit.

Help with Window_Help

Started by blazinhandle, February 17, 2007, 02:55:41 AM

0 Members and 1 Guest are viewing this topic.

blazinhandle

Hey, I'm trying to create a separate help window that shows the text over multiple lines rather than just one line (or rows) of text.

so instead of this:
_________________________________________________________________
|THIS IS A ROUGH DRAWING OF HOW THE REGULAR HELP WINDOW DISPLAYS TEXT|


something like this:
_________________
|SEE HOW THE TEXT |
|IS SPREAD OUT    |
|OVER MULTIPLE    |
|ROWS? I'M TRYING |
|TO DO THIS       |


What I'm trying to do is create a new Window_Help that shows multiple rows of description for skills, rather than the standard one row help text.

thanks!

:)

Watch out for: HaloOfTheSun

blazinhandle

thanks nou, but I'm trying to use it for window_help so that I can draw the description text from skills and display it in multiple rows (yes like yours, but rather than a message, I want to display text using skill description text).

nevfx

Oh. I don't know, but I've always wanted to manipulate this, so I'll read here...

blazinhandle

no one knows of a script that can split a message into multiple rows? ???

Blizzard

The def refresh of Window_Message has the method you need. Basically it works that way that it gets one character, checks its length and if it fits into the window, it draws it, if not, it changes the line and "resets" the x coordinate.
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.



Get DropBox, the best free file syncing service there is!

blazinhandle

hmmm but i need it to reset the y coordinate so it spreads it out in a different row...how would i go about that?

Blizzard

Increase the y by 32. That's basically how the Window_Message works. Try messing arund with its code and see how it affects the functionality to find out what part of code is doing what. Don't forget to backup it first, lol!
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.



Get DropBox, the best free file syncing service there is!