- Joined
- Aug 3, 2014
- Messages
- 109
- Reaction score
- 22
- First Language
- German
- Primarily Uses
Hi,
I've been searching for a while, but didn't manage to find anything. It doesn't sound too complicated, but considering I know nothing about scripting in Ruby/RGSS3, I wouldn't really know.
I'm looking for a script that allows me to display a message box looking like a book.
What I'm imagining is a function which I can call in an event, opening a message window that displays text over a custom background graphic.
The function call might look something like this:
page1 = "This is the first page"page2 = "and the second page"page3 = "and eventually the last page"bg_image = "book01" #background image to be displayed - an open book with empty pagesdisplay_book(page1, page2, page3, bg_image)It would be important to me to be able to choose the background image in the function call, since I'd like to use multiple images. Not all books look alike, after all.
I'd like to have each page in a separate string variable, as it allows for more control.
Since a book can have more than two pages of text, it should be possible to browse using the arrow keys, or at least go through the pages by hitting enter.
This is only for books laying about - they will not be picked up (so no reading from the inventory is necessary) and they will not be memorized (so no notebook menu item or something is required).
Does anyone know a script that can do this?
I've been searching for a while, but didn't manage to find anything. It doesn't sound too complicated, but considering I know nothing about scripting in Ruby/RGSS3, I wouldn't really know.
I'm looking for a script that allows me to display a message box looking like a book.
What I'm imagining is a function which I can call in an event, opening a message window that displays text over a custom background graphic.
The function call might look something like this:
page1 = "This is the first page"page2 = "and the second page"page3 = "and eventually the last page"bg_image = "book01" #background image to be displayed - an open book with empty pagesdisplay_book(page1, page2, page3, bg_image)It would be important to me to be able to choose the background image in the function call, since I'd like to use multiple images. Not all books look alike, after all.
I'd like to have each page in a separate string variable, as it allows for more control.
Since a book can have more than two pages of text, it should be possible to browse using the arrow keys, or at least go through the pages by hitting enter.
This is only for books laying about - they will not be picked up (so no reading from the inventory is necessary) and they will not be memorized (so no notebook menu item or something is required).
Does anyone know a script that can do this?
