Raen Andaleio
Villager
- Xy$
- 0.00
Hello,
I'm currently working on porting a book and scroll script, which I wrote in RGSS3, to MV.
It works like this:
You create an event and activate a switch which prevents player movement.
Then you add a script content and write the text for both pages to be displayed into variables.
Next you display a picture of a book and create instances of two classes, left page and right page. These classes write the text of the two variables into windows with clear background and display those, so it looks like the text written in the book. X and Y offset variables allow for adjusting the position of the text.
For each time a page is to be turned, you create a new event page, change the text in the variables and reload the classes.
The last page disposes of the classes and the background picture.
Now the thing is, in MV I can apparently no longer display windows outside of a menu scene. At least I didn't find out how. The problem is that the Scene_Menu not only blurs out the background (and thus the book), it also pauses the entire game, meaning I can no longer activate the event and turn pages. I know I can set the books as background for the scene (even though it ignores the PNG's alpha channel), but how can I work around the pause?
I'm currently working on porting a book and scroll script, which I wrote in RGSS3, to MV.
It works like this:
You create an event and activate a switch which prevents player movement.
Then you add a script content and write the text for both pages to be displayed into variables.
Next you display a picture of a book and create instances of two classes, left page and right page. These classes write the text of the two variables into windows with clear background and display those, so it looks like the text written in the book. X and Y offset variables allow for adjusting the position of the text.
For each time a page is to be turned, you create a new event page, change the text in the variables and reload the classes.
The last page disposes of the classes and the background picture.
Now the thing is, in MV I can apparently no longer display windows outside of a menu scene. At least I didn't find out how. The problem is that the Scene_Menu not only blurs out the background (and thus the book), it also pauses the entire game, meaning I can no longer activate the event and turn pages. I know I can set the books as background for the scene (even though it ignores the PNG's alpha channel), but how can I work around the pause?