Search found 216 matches

by sculpteur
Sat Nov 18, 2017 9:21 am
Forum: Ren'Py Questions and Announcements
Topic: Advice : Try to make screen calling each other and close the defaut say screen
Replies: 15
Views: 1110

Re: Advice : Try to make screen calling each other and close the defaut say screen

I had to edit my post and add a closing parenthesis after the actions... ) ... Function( _window_hide, True ) ] ) # <--- that ) there is important ... weird it did not error though It did not error because i saw a missing parenthesis in the first time and i correct it this way : action If( renpy.ge...
by sculpteur
Sat Nov 18, 2017 8:46 am
Forum: Ren'Py Questions and Announcements
Topic: Advice : Try to make screen calling each other and close the defaut say screen
Replies: 15
Views: 1110

Re: Advice : Try to make screen calling each other and close the defaut say screen

Because you want to hide the dialogue and name area when the inventory appears ( re-using that would be pretty tricky tbh, especially as it couldn't be modal so clicks inside inventory could/would advance dialogue in the background) we cannot really have the Open/Close button inside it... Just to l...
by sculpteur
Sat Nov 18, 2017 8:40 am
Forum: Ren'Py Questions and Announcements
Topic: Advice : Try to make screen calling each other and close the defaut say screen
Replies: 15
Views: 1110

Re: Advice : Try to make screen calling each other and close the defaut say screen

Thank you, I think you are right, but this doesnt work. I think this is this part : action If( renpy.get_screen( "inventory_bar" )), [ Hide("inventory_bar" ), Function( _window_show, False ) ], # actions If inv bar is showing [ Show("inventory_bar"), Function( _window_hide, True ) ] # actions If inv...
by sculpteur
Sat Nov 18, 2017 8:01 am
Forum: Ren'Py Questions and Announcements
Topic: Advice : Try to make screen calling each other and close the defaut say screen
Replies: 15
Views: 1110

Re: Advice : Try to make screen calling each other and close the defaut say screen

Nevermind i worked somthing out. I still DONT UNDERSTAND, the "use" statement. (and didn't find anything online). But i manage without using it, like this : in script file: $ show_inventory = False in screen file : screen say(who, what): style_prefix "say" window: id "window" if show_inventory: imag...
by sculpteur
Sat Nov 18, 2017 7:16 am
Forum: Ren'Py Questions and Announcements
Topic: Advice : Try to make screen calling each other and close the defaut say screen
Replies: 15
Views: 1110

Re: Advice : Try to make screen calling each other and close the defaut say screen

Incorporating this code in the say screen scared me because i was about to creat a huge inventory systeme so i didn't want to mix it with defaut say screen window. But in fact this is really good idea because i want my inventory button (the little green bag on the right) to ne displayed or hidden at...
by sculpteur
Fri Nov 17, 2017 7:36 pm
Forum: Ren'Py Questions and Announcements
Topic: Advice : Try to make screen calling each other and close the defaut say screen
Replies: 15
Views: 1110

Advice : Try to make screen calling each other and close the defaut say screen

Hi, Iam a noob. This is my first post so I am also checking the weather around here. I am trying to make an inventory_button screen to display an inventory_bar screen. Then, in the inventory_bar screen, there is also a button who is identical (the image) to the one of inventory_button. When clicked,...