Search found 1628 matches
- Sat Nov 18, 2017 9:58 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: 1410
Re: Advice : Try to make screen calling each other and close the defaut say screen
What does your open/close button action look like? Is there still a 2nd added ) on the _show_window line? It should end in ], only
- Sat Nov 18, 2017 9:26 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: 1410
Re: Advice : Try to make screen calling each other and close the defaut say screen
I think you will hit game play snags if the inventory is not modal as any click or drag could progress dialogue - I cannot say for sure if hiding the say window stops dialogue advance - if it does, all is good. If the button is inside the say window though, it too will get hidden when inventory open...
- Sat Nov 18, 2017 9:14 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: 1410
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
... Function( _window_hide, True ) ] ) # <--- that ) there is important ... weird it did not error though
- Sat Nov 18, 2017 9:08 am
- Forum: Ren'Py Questions and Announcements
- Topic: Problem with Flip Image
- Replies: 8
- Views: 1278
Re: Problem with Flip Image and Conditionals
It would seem that the string is not being interpolated. I am not sure if there is a parameter to pass to im.Flip which would get passed to the child. You could try a few guesses... image bunny hurt LFT = im.Flip("2_3_[bunny_outfit]_1.png", horizontal=True, dynamic=True) image bunny hurt L...
- Sat Nov 18, 2017 8:56 am
- Forum: Ren'Py Questions and Announcements
- Topic: im.Flip and composite images
- Replies: 2
- Views: 656
Re: im.Flip and composite images
Three options I can think of... all untested im.Flip every component of the composite individually - might mean adjusting the (x, y) tuple though maybe im.Flip( renpy.display.layout.Flatten( the composite ) ) - iffy as Flatten is a Container so might not work on just a composite - also pretty expens...
- Sat Nov 18, 2017 8:06 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: 1410
Re: Advice : Try to make screen calling each other and close the defaut say screen
Ok... 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... I wo...
- Sat Nov 18, 2017 7:10 am
- Forum: Ren'Py Questions and Announcements
- Topic: Stats Screen, Bars Non-Uniform? [SOLVED]
- Replies: 5
- Views: 685
Re: Stats Screen, Bars Non-Uniform?
Within Ren'py all Grids and MultiBoxes (hbox, vbox) use the largest child to set the widths and heights of All contained children, thus a hbox with "1", "22", "333" in it would still allow a width relevant to the "333" for the "1" and "22" ...
- Sat Nov 18, 2017 6:28 am
- Forum: Ren'Py Questions and Announcements
- Topic: Game parsing code error
- Replies: 22
- Views: 6970
Re: Game parsing code error
I guessed the game was distributed with non compiled parts as the OP ( Yoloxd2300 ) posted the contents of 00start.py which I had figured ( yup, without first checking ) would also be distributed compiled... I see now that the /renpy/ folder contains .py non compiled files even in games that distrib...
- Sat Nov 18, 2017 12:13 am
- Forum: Ren'Py Questions and Announcements
- Topic: Stats Screen, Bars Non-Uniform? [SOLVED]
- Replies: 5
- Views: 685
Re: Stats Screen, Bars Non-Uniform?
Your likely easiest method is to use Grid rather than the hboxes inside vbox. Each nested hbox will determine space for its own children independently so ignores those above/below. So saying, you might get around it using xminimum within every second level hbox
- Fri Nov 17, 2017 8:26 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: 1410
Re: Advice : Try to make screen calling each other and close the defaut say screen
Do you really want the 'say' window (which includes the name) to disappear each time though? Perhaps it might fell more fluid to just *steal* the namebox when you want it by tweaking the say screen? (or is your arrow meant to be pointing at the dialogue window?) Untested pseudo code... default show_...
- Fri Nov 17, 2017 8:11 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: 1410
Re: Advice : Try to make screen calling each other and close the defaut say screen
https://www.renpy.org/doc/html/dialogue.html?highlight=window#dialogue-window-management Function( _window_hide, True ) Function( _window_show, False ) True/False for transition or not Remember to put multiple actions in list braces ... action [ Function(...), Show(...) ] ... I guess you know that t...
- Fri Nov 17, 2017 7:56 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Has anyone developed, or know of, a weather engine for Ren'Py?
- Replies: 6
- Views: 1252
Re: Has anyone developed, or know of, a weather engine for Ren'Py?
Depending on which direction you are taking with your game, you could also look at Event Handler with Lexer It mostly handles progression of time and a simple Ren'py-esque way for setting things up and registering labels as events. Basically allowing game scripting to be Ren'py style without the nee...
- Fri Nov 17, 2017 5:56 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Game parsing code error
- Replies: 22
- Views: 6970
Re: Game parsing code error
Could you let us know what folders are in the game you have? I am guessing there is: A /renpy/ folder A /game/ folder A /lib/ folder A .exe with the game name A .py or .rpa or .pyc with the game name Maybe a .sh, a readme etc If so, go to the /game/ folder, find script.rpy and open that in notepad.....
- Fri Nov 17, 2017 5:35 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved]Trying to make "config.python_callbacks" work for me
- Replies: 5
- Views: 976
Re: Trying to make "config.python_callbacks" work for me
It would only be feasible if the Stat class is either a Singleton (a Python (or any OOP language) pattern that instantiates only one instance of the class and has all calls reference that) or if there is a way of referencing each Stat instance ... basically you need some way in the code to add the &...
- Fri Nov 17, 2017 7:26 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved]Trying to make "config.python_callbacks" work for me
- Replies: 5
- Views: 976
Re: Trying to make "config.python_callbacks" work for me
Within a function (or class method) you can mostly only read rather than write a value to a variable held within the global namespace. You will have to globalize the variable inside the function: init python: def check_toughness(): global tough_win, tough_pass, sensi_pass, sensi_win # this line shou...