Search found 94 matches

by Adrian_DVL
Fri May 01, 2020 2:36 pm
Forum: Ren'Py Questions and Announcements
Topic: Showing game stats on file slots?
Replies: 24
Views: 493

Showing game stats on file slots?

Hi again! I want to change the file_slots screens. I've already made a lot of changes, but I'd like to know if this is possible in Renpy: I want to display some stats (variables and class objects), like MC's name, money, etc of each saved game in its corresponding slot. Can I do that without doing t...
by Adrian_DVL
Fri May 01, 2020 6:24 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Variable in uppercase in a dialogue?
Replies: 3
Views: 131

Re: Variable in uppercase in a dialogue?

Hi all! Quick question: let's say I have a variable name, which is MC's name. So every time someone calls his name in a dialogue, I use for instance: cha "Hey, [name], blablabla." But imagine the other character is in another room, so he needs to shout, something like this: cha "HEY, [name], BLABLA...
by Adrian_DVL
Fri May 01, 2020 6:10 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Variable in uppercase in a dialogue?
Replies: 3
Views: 131

[Solved] Variable in uppercase in a dialogue?

Hi all! Quick question: let's say I have a variable name, which is MC's name. So every time someone calls his name in a dialogue, I use for instance: cha "Hey, [name], blablabla." But imagine the other character is in another room, so he needs to shout, something like this: cha "HEY, [name], BLABLAB...
by Adrian_DVL
Thu Apr 30, 2020 6:02 am
Forum: Ren'Py Questions and Announcements
Topic: Need to click twice to advance in certain dialogue
Replies: 14
Views: 313

Re: Need to click twice to advance in certain dialogue

There are many ways to achieve the goal in Ren'Py. You could call the screen to make player interact with this screen only until it returns something. You could set modal property to the screen, so game won't go farther until you hide this screen. You can use ui.interact to wait for something to be...
by Adrian_DVL
Tue Apr 28, 2020 3:48 pm
Forum: Ren'Py Questions and Announcements
Topic: Need to click twice to advance in certain dialogue
Replies: 14
Views: 313

Re: Need to click twice to advance in certain dialogue

... What are the screens show screen statsbar show screen lui(aim) show screen lsb(aim) they seem to be never hided? Any chance that you hide them by first click and only then can click to go farther in game? And what's the screen 'girlsb' that you hiding by clicking the button? action [(SetVariabl...
by Adrian_DVL
Tue Apr 28, 2020 3:18 pm
Forum: Ren'Py Questions and Announcements
Topic: Need to click twice to advance in certain dialogue
Replies: 14
Views: 313

Re: Need to click twice to advance in certain dialogue

...EDIT: Okay, a little note on this one: as you surely know "memotuto" is a tutorial of the minigame, which is called only once, if "memotuto" has never been seen in the system before. Okay, turns out that if I delete persistent and go through this label again, the line of dialogue "You want me to...
by Adrian_DVL
Tue Apr 28, 2020 1:14 pm
Forum: Ren'Py Questions and Announcements
Topic: Need to click twice to advance in certain dialogue
Replies: 14
Views: 313

Re: Need to click twice to advance in certain dialogue

... Since you've called 'memotuto' and 'memo' labels, check if game properly returned back from 'aim_win' or so label. But the thing is that I'm not coming from any of those labels when I call this one. "memotuto" has nothing to do, I've already tested it removing that call. And "memo" is not calle...
by Adrian_DVL
Tue Apr 28, 2020 9:23 am
Forum: Ren'Py Questions and Announcements
Topic: Need to click twice to advance in certain dialogue
Replies: 14
Views: 313

Re: Need to click twice to advance in certain dialogue

So clicking the first time actually does not advance the game at all and no "3" appears in the console? That is strange, because there is absolutely no reason for this. Did you modify the "say" screen? I can't see any reason for the first click to be "swallowed" by the game. At least we now know th...
by Adrian_DVL
Tue Apr 28, 2020 9:05 am
Forum: Ren'Py Questions and Announcements
Topic: Need to click twice to advance in certain dialogue
Replies: 14
Views: 313

Re: Need to click twice to advance in certain dialogue

No clue, but I can give you tips for bug hunting: The python statement "print" outputs to the console which you can call up with SHIFT+O. When something like this happens, I place various print statements at critical points of my code to track the execution flow. Be aware that if you do that inside...
by Adrian_DVL
Tue Apr 28, 2020 8:37 am
Forum: Ren'Py Questions and Announcements
Topic: Need to click twice to advance in certain dialogue
Replies: 14
Views: 313

Re: Need to click twice to advance in certain dialogue

Where is aim.lvl changed and under which conditions? It looks like the line is indeed executed twice but not twice at once. I think the game advances, loops back to the label, and executes it again. aim.lvl is changed winning a minigame. Once the minigame (the label memo) is successfully finished, ...
by Adrian_DVL
Tue Apr 28, 2020 7:18 am
Forum: Ren'Py Questions and Announcements
Topic: Need to click twice to advance in certain dialogue
Replies: 14
Views: 313

Need to click twice to advance in certain dialogue

Hi mates! I've got a weird issue regarding a dialogue. See, I have a label like this: label aim_memo: $ ni+=1 $ act = aim.id $ aim.ene -= 1 $ memtotalp = 0 if aim.lvl == 0: $ mst = 1 elif aim.lvl == 1: $ mst = 2 elif aim.lvl == 2: $ mst = 3 if aim.lvl == 0: z "You want me to help ya with a song?" ##...
by Adrian_DVL
Sun Apr 26, 2020 1:57 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Calling a label with an object name in it from a button
Replies: 1
Views: 146

Re: Calling a label with an object name in it from a button

Fixed taking the best of both worlds, with the .format thing but without renpy.call. After all, we all know call is not equivalent to renpy.call... :P

Code: Select all

action Call("{0}_main".format(thing))
Keeping the thread around if it can be useful to somebody!
by Adrian_DVL
Sun Apr 26, 2020 12:43 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Calling a label with an object name in it from a button
Replies: 1
Views: 146

[Solved] Calling a label with an object name in it from a button

Hi all! Let's say I have a class called "Thing", with some objects, named "object1", "object2", "object3", etc. Then I have a label for each object: "label object1_main", "label object2_main", "label object3_main", etc. Now I have a screen with the class passed as a parameter, let's say "myscreen(th...
by Adrian_DVL
Sat Apr 25, 2020 9:09 am
Forum: Ren'Py Questions and Announcements
Topic: Randomizing a doubly conditioned menu
Replies: 2
Views: 143

Re: Randomizing a doubly conditioned menu

have you tried using menu sets? those will eliminate the choices that have been selected or picked already. default menu_set = [] label start: menu: set menu_set "choice 1": pass "choice 2": pass jump start now something more related to issue... default parameters = [aim.hob, aim.hei, aim.sea, aim....
by Adrian_DVL
Sat Apr 25, 2020 8:09 am
Forum: Ren'Py Questions and Announcements
Topic: Randomizing a doubly conditioned menu
Replies: 2
Views: 143

Randomizing a doubly conditioned menu

Hi all! Let me try to explain my situation. I have a class with many objects, each of them has a lot of parameters, but let's focus on 12 of them. I want to implement a completely randomized menu that each time displays three choices regarding those 12 parameters. When the choice linked to each para...