TAA_BookMenu (v1.3.7)

taaspider

Veteran
Veteran
Joined
Jan 27, 2017
Messages
58
Reaction score
52
First Language
Portuguese
Primarily Uses
RMMV
Hello, your plugin is a life saver <3
One quick question!
When I use readbook, it pops up all pretty and such - but only esc closes the book, how can I make it so confirm (space/enter) work too?
It was built to work that way, but is quite simple to adjust to your suggestion. I'm currently working on a new plugin and investigating the issues reported by EseQueL and Crystalliney. Give me some time and I can add that to the next release, (hopefully) along with those fixes. :)

Auto Place Command should be working. I'll take a look at that as soon as possible!
Checked that last night, and it works fine with the demo project!
 

KuroyukiDevGames

Silver Kyuubi Sage
Member
Joined
Aug 18, 2019
Messages
9
Reaction score
2
First Language
English
Primarily Uses
RMMV
Sooo... I dunno if I'm just really dumb or if everyone here is really smart.... I've been trying to figure out how to use the multiple background images settings in my game, but I can't find any examples of the syntax being used to do that like ANYWHERE.... @taaspider do you think you could update your plugin documentation with some example use cases of those kinds of things? That would be a HUUUUGE help.

Thanks for the great plugin btw. My team and I are most definitely using it in our games. We just had a team meeting to discuss that. The only thing that might stop us is if we can't figure out HOW the background image syntax works.

~ Kurochan @ KuroyukiDev Games
 

taaspider

Veteran
Veteran
Joined
Jan 27, 2017
Messages
58
Reaction score
52
First Language
Portuguese
Primarily Uses
RMMV
Hi there, @KuroyukiDevGames !
I'm glad it's going to be useful for you!

As you're asking about multiple background images, I'm assuming you mean configuring background for all books, and not a custom background for a single book, correct?

I'll try to help you clear things up inside the spoiler tag below, please take a look and see if that helps you.

There's two separate settings, one for the book menu, and another for the detached window which opens a single book without the book list. For both cases, you will find two parameters:
  • Detached Background Options: This will specificy the behavior of background images. You'll find all supported options in the plugin manager parameter: 1579706339659.png
After you select an option and click Ok, the parameter will be shown as a number. That's expected. The plugin runs bitwise operations to identify the options, making it more simple to code.​
  • Detached Backgound Config: It presents four options, but which ones are used depends on what you select at the previous option. If you set background options to "Default Map Print", none of this will be used. "Single Image" is used when "Single Image (Title / Text)" option is selected. As a pattern, every pair combined with "/" means a they will share the same image, while "+" means different background images.
  • Menu Background Options: Works in a similar way as the Detached Background Options, only it has more options, since there's an additional window (book list window):1579710182358.png
    The same logic applies: when you select an option and click ok, the parameter will be shown as a number, and that is correct.
  • Menu Background Config: Again, same logic as Detached Background Config, only a few more option as there are more possible combinations with an additional window.

I've also added a step by step example in the spoiler tag below!

To setup multiple background images with each window (list, title and text) using its own file:
  1. Open up the Menu Background Options parameter and set it to "Multiple Images (Title + Text + List)". After you click ok, parameter should be shown with the value 32;
    1579710544310.png
  2. Open the parameter Menu Background Config and select images for each window through the options highlighted below:
    1579710683408.png
  3. That's it! Save and test your settings!
    1579710753485.png

I hope this clear things up. If you still need help, I'll ask you to give me more details as to what you want to config to help understand better what you need!
 

KuroyukiDevGames

Silver Kyuubi Sage
Member
Joined
Aug 18, 2019
Messages
9
Reaction score
2
First Language
English
Primarily Uses
RMMV
@taaspider that's actually the perfect info. I was confused because I thought we had to use text-based commands in the books.json file's properties somewhere, but now that I know its done in the MV engine that actually makes it waaaay easier! Thanks for the fast reply! We will definitely be using this plugin in our games from now on. I'll PM you a link to the games when we release them for sure! This plugin is awesome and saves me, my team's programmer, the trouble of having to make this system from scratch. I'm also a JavaScript Programmer too, so I've made my own custom micro plugins to automate some of our game features too.

~ Kurochan @ KuroyukiDev Games
 

MikaTeapot

Villager
Member
Joined
Mar 25, 2019
Messages
10
Reaction score
2
First Language
English
Primarily Uses
RMMV
Edit: nevermind me, I'm really too tired to be trying to do stuff.
 

DarkSearinox92

Veteran
Veteran
Joined
Jan 8, 2013
Messages
272
Reaction score
31
First Language
Italian
Primarily Uses
@taaspider Hi! I really don't understand why i see a lot of mess in the plugin manager...

I really don't understand this chaos o_O why plugin manager don't read html format tags?

(Also, the download of the demo didn't work anymore :( )

Thank you!

script.jpg
 

taaspider

Veteran
Veteran
Joined
Jan 27, 2017
Messages
58
Reaction score
52
First Language
Portuguese
Primarily Uses
RMMV
@DarkSearinox92 , I think the html tags are there due to the way you're downloading the file.

On github, do not right click and "save file as", as this will save the entire html page and not only the plugin!
You have two options: select plugin text, copy and paste in a local file; or click the raw button to open a page with only the plugin (no html tags), then right click and "save as" (some printscreens in the spoiler tag to illustrate what I mean).

1581894081738.png
1581894122275.png
"Salvar Página Como" = "Save page as", it's just that my browser is in portuguese...

As for downloading the demo, I just tested it and its working fine. Try going to the root github page (this page), then click "Clone or Download", and then "Download ZIP".

1581894330046.png

Let me know if that solves your issue.


Also, I just released version 1.3.7:
- Added a handler to exit the detached book view with both 'ok' and 'cancel' buttons ( @MikaTeapot )​
- Fixed the black screen issue with long texts. ( @EseQueL )​

An important note on the second item:
The issue was caused by the way the plugin was calculating text height before drawing it to the screen. There was an issue with the math, which was exceeding the WebGL maximum supported texture size, which depends on your graphic card.​
I've tested a really long text after the fix both on PC and Android. As a reference, my largest test included 4472 characters, which still ended up around 20% the maximum size supported on my computer GPU, a GTX760.​
However, please be careful with extremely large book texts and be sure to test them on your target device to make sure its GPU can handle it. If it can't, consider breaking your text into smaller books.​
 

DarkSearinox92

Veteran
Veteran
Joined
Jan 8, 2013
Messages
272
Reaction score
31
First Language
Italian
Primarily Uses
@taaspider

On github, do not right click and "save file as", as this will save the entire html page and not only the plugin!
You have two options: select plugin text, copy and paste in a local file; or click the raw button to open a page with only the plugin (no html tags), then right click and "save as" (some printscreens in the spoiler tag to illustrate what I mean).
Oh, damn. I will check it... T_T maybe i've saved it in wrong way and I didn't notice T_T I will try it when i come back home.


As for downloading the demo, I just tested it and its working fine. Try going to the root github page (this page), then click "Clone or Download", and then "Download ZIP".
This is strange, now it works. Maybe it was a problem of github... Thank you very much, i will try it again at home.

P.S. check your DM, i've written to you :)


And thank you for the new fix and updates! :)



EDIT: I have a little problem. Why if i set on plugin manager "Auto Place command" on False, i see always the menù when i press ESC? I mean, if i wanna organize the menu with Yanfly menu manager, i don't need the menu right there. It seems that the function doesn't work. Or am i doing something wrong?
I tried even to put on false Show Menu and Enable Menu, it's all the same. :/
I tried this even in your DEMO Project but it's the same thing. If i put it on False, it is always there.
 
Last edited:

Users Who Are Viewing This Thread (Users: 0, Guests: 2)

Latest Threads

Latest Posts

Latest Profile Posts

I keep trying to explain to clients that the huddle masses behind the old K-Mart are a Fallout Reenactment group. Somehow I don't think they believe me. :LZSskeptic:
Hey people! What do you think about a core plugin? This will save some lines of code that I repeatedly use in all my plugins...
Wondering if I should make my enemies scale in my non-linear rpg. I'm leaning towards yes, but I don't want to use Yanfly's plugin...
French folk trying to pronounce English words. I loved how the man pronounced squirrel as 'square friend'.
Therapist: any questions? Me: Yeah, are there actually people who think Hotel California is about drugs and not fame or are people just trying to upset me?
Therapist: They WHAT?

Forum statistics

Threads
94,592
Messages
922,149
Members
124,462
Latest member
souldoood
Top