Add the supplied file into yout project and add
add "focus_frame"
at the end of any screen you want the displayable in. I’m more active in the official Ren’Py Discord server if you have more questions.
By default, Ren’Py shaders are applied to individual images, using the image’s relative coordinates. To fully apply this to a layer, I’d recommend showing a Layer() displayable with the CRT shader applied. The “mesh True” transform property could be of help in this scenario.
If you’re in either the DevTalk discord server or the official Ren’Py Discord, we can continue there (with the results being posted here afterwards)
The point and click screen works on jumping to whatever string the screen returns. Since the inventory code also returns some values, the loop label interprets True from lines 301 and 308 with the same weight as if that return came from the point and click button. You could add a condition in the pnc_loop label that check if the returned value is True and jump back to the loop, or you could modify the combine_check function from the inventory system to return label names.
Thanks for the suggestion about the fixed script update.
About the mouse positioning, the current algorithm takes the value as it is in the cursor. I’ll try to figure out an algorithm that can allow for lax mouse positioning. If you’re in the DevTalk discord server, I’ll post some progress reports there.
Thanks for the observation! I’ve implemented your suggestion (now it only calculates the mask size during init)
The get_size function was actually provided by Feniks a long time ago when I asked in DevTalk and I’ve been using it since.
Would you mind if I update the bar (and other stuff that uses get_size)? Of course you’ll be mentioned in the credits as the one who suggested this change.
The reason why it throws an error is because the current_room variable is set to None and that there’s no list of buttons called None_buttons
To be a little technical, the plugin tries to load buttons by looking at the current_room variable, adds _buttons to its value and tries to load the string result as a variable.
If you have a list of buttons (in the correct format) that ends in _buttons (ie. bedroom_buttons), the current_room variable must be updated to “bedroom” before jumping into the pnc_loop label.