Search found 27 matches

by Wertous
Sat Apr 03, 2021 1:18 pm
Forum: Ren'Py Questions and Announcements
Topic: (Solved)Vpgrid empty cells
Replies: 10
Views: 787

Re: Vpgrid empty cells

In general, the situation is as follows.
I rewrote the screen I used for inventory,removed side "c r":
And everything works
why the code that I wrote earlier does not work, I still cannot understand
by Wertous
Sat Apr 03, 2021 11:04 am
Forum: Ren'Py Questions and Announcements
Topic: (Solved)Vpgrid empty cells
Replies: 10
Views: 787

Re: Vpgrid empty cells

Even if I just add something like this instead of your code then for some reason, after inventory items, empty cells do not show I don't understand what could be the reason for item in inventory.inv: frame: style "slots" xysize (90, 90) imagebutton: mouse "hand" idle LiveComposit...
by Wertous
Sat Apr 03, 2021 10:21 am
Forum: Ren'Py Questions and Announcements
Topic: (Solved)Vpgrid empty cells
Replies: 10
Views: 787

Re: Vpgrid empty cells

Alex I need your help! as I wrote earlier your code works fine in the newly created project But I just can't figure out why it doesn't work as it should in my inventory. With this code, nothing new is added to the visible area. screen inventory_view_1(inventory): side "c r": style_group &q...
by Wertous
Sat Apr 03, 2021 6:09 am
Forum: Ren'Py Questions and Announcements
Topic: (Solved)Vpgrid empty cells
Replies: 10
Views: 787

Re: Vpgrid empty cells

Ok I understood you, thanks for your idea!
by Wertous
Sat Apr 03, 2021 5:45 am
Forum: Ren'Py Questions and Announcements
Topic: (Solved)Vpgrid empty cells
Replies: 10
Views: 787

Re: Vpgrid empty cells

Alex i created a new project to test your code and it really works very well thanks for the advice Apparently I need to check a lot in my main project. Imperf3kt I don't quite understand why you need to specify null twice What happens when this happens, he draws two times an empty space then creates...
by Wertous
Fri Apr 02, 2021 6:56 pm
Forum: Ren'Py Questions and Announcements
Topic: (Solved)Vpgrid empty cells
Replies: 10
Views: 787

Re: Vpgrid empty cells

Thanks for the advice, but with this code, my inventory looks like a mosaic, all the elements are located diagonally So far, this is all that I have managed to achieve with this code. I got the idea to just draw blank cells in the background and it looks good but it would be better if they could als...
by Wertous
Fri Apr 02, 2021 6:47 am
Forum: Ren'Py Questions and Announcements
Topic: (Solved)Vpgrid empty cells
Replies: 10
Views: 787

(Solved)Vpgrid empty cells

Hello everyone! According to the documentation https://www.renpy.org/doc/html/screens.html written about Vpgrid : "If there are not enough children to fill all cells, any empty cells will not be rendered." So the question arose: can I still insert some kind of picture so that I have displa...
by Wertous
Thu Mar 25, 2021 10:29 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Save problem
Replies: 3
Views: 491

Re: Save problem

thank you very much for the answer!
How could I myself have not thought of such an obvious solution with a screen call
It's so obvious - I just didn't know about the argument from_current = True
Thanks again, this solves a lot of my questions
by Wertous
Thu Mar 25, 2021 8:19 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Save problem
Replies: 3
Views: 491

Re: Save problem

I think I almost found a solution to this problem. Who cares - on the exit button from the inventory or any screen in which the interaction will be put in actin jump ("label_x") or call - not yet sure which is better But the bottom line is that after closing the inventory window, the playe...
by Wertous
Thu Mar 25, 2021 4:48 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Save problem
Replies: 3
Views: 491

[Solved] Save problem

Hello everyone! I have previously read a lot of topics about save on Renpy but I never saw a solution in them The problem I am facing is as follows If I use some kind of screen using operator Show or renpy.show_screen let's say it's inventory and I carry out some manipulations in it - for example, I...
by Wertous
Wed Mar 10, 2021 1:19 pm
Forum: Ren'Py Questions and Announcements
Topic: Change bar value by default
Replies: 3
Views: 287

Re: Change bar value by default

thanks for the explanations, you helped me a lot
by Wertous
Wed Mar 10, 2021 10:02 am
Forum: Ren'Py Questions and Announcements
Topic: Change bar value by default
Replies: 3
Views: 287

Change bar value by default

Hello everyone! I have one very important question to which I can’t find the answer. When we create bar as bar: value VariableValue(a,max) then when you open a screen in which the bar is located, its position a is always at the maximum I would like the value of the variable a in the bar to be minima...
by Wertous
Thu Feb 18, 2021 4:25 am
Forum: Ren'Py Questions and Announcements
Topic: change view viewport
Replies: 7
Views: 356

Re: change view viewport

Thank you very much for your explanations, you helped me a lot
by Wertous
Wed Feb 17, 2021 2:02 pm
Forum: Ren'Py Questions and Announcements
Topic: change view viewport
Replies: 7
Views: 356

Re: change view viewport

empirically got to the point that if the code looks like value VariableValue("variable",max,step = 1,offset =+ 1) then 1 is added to the minimum value of our variable and to the maximum this helps to avoid zero in the value of the variable, but adding 1 to the maximum again creates a probl...
by Wertous
Wed Feb 17, 2021 1:30 pm
Forum: Ren'Py Questions and Announcements
Topic: change view viewport
Replies: 7
Views: 356

Re: change view viewport

The max_is_zero argument can be used
and then zero will be at the end of the scroll and not at the beginning, but I would like to move away from it completely
Or if so it will be clearer how can I make a bar for a variable taking values ​​from -100 to +100?