Search found 2981 matches
- Sat Jul 16, 2022 4:27 am
- Forum: Ren'Py Questions and Announcements
- Topic: Is there a way to force a redraw of the dialogue window?
- Replies: 9
- Views: 368
Re: Is there a way to force a redraw of the dialogue window?
... If auto-forward is on and disabled, the screen displays no CTC icon until the user clicks to the next screen. Issue. ... This seems to work for me image blue: Solid("#00c") size(100, 100) init python: def ctc_return(st, at, ctc): # if player not skipping text and # game not in auto-forward mode...
- Fri Jul 15, 2022 5:23 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Is there a way to force a redraw of the dialogue window?
- Replies: 9
- Views: 368
Re: Is there a way to force a redraw of the dialogue window?
... Try DynamicDisplayable - https://www.renpy.org/doc/html/displayables.html#DynamicDisplayable Something like init python: def ctc_return(st, at, ctc): if my_var: return ctc, 0.1 return Null(), 0.1 define e = Character("Eileen", who_color="#909", ctc=DynamicDisplayable(ctc_return, ctc=Text("A") )...
- Fri Jul 01, 2022 4:55 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Accessing values in a nested dictionary
- Replies: 6
- Views: 287
Re: Accessing values in a nested dictionary
You have two options
Code: Select all
python:
for k, v in fooddic.items():
for key in v:
if key == x:
say(n,"Result: {} {}".format(key, v[key]), interact=True)
#say(n,"Result: %s %s" %(key, v[key]), interact=True)- Tue Jun 21, 2022 1:06 pm
- Forum: Asset Creation: Writing
- Topic: Help for image sequence
- Replies: 4
- Views: 774
Re: Help for image sequence
Yes, it might work, the problem is that not as well as modifying the code to replace the "textbuttons" with images image red: Solid("#c00") size(100, 100) image green: Solid("#0c0") size(100, 100) image blue: Solid("#00c") size(100, 100) image purple: Solid("#c0c") size(100, 100) image grey: Solid(...
- Fri Jun 17, 2022 12:27 pm
- Forum: Ren'Py Questions and Announcements
- Topic: On hide transform not working with buttons.
- Replies: 4
- Views: 260
- Fri Jun 17, 2022 10:08 am
- Forum: Asset Creation: Writing
- Topic: Help for image sequence
- Replies: 4
- Views: 774
Re: Help for image sequence
This might help a bit - viewtopic.php?f=8&t=49213#p483820
- Thu Jun 16, 2022 11:16 am
- Forum: Ren'Py Questions and Announcements
- Topic: Can't update a global variable from a screen action?
- Replies: 4
- Views: 223
Re: Can't update a global variable from a screen action?
IIRC console will not show correct values, unless a new interaction is started. If you add a few say statements to the game and move to the next one after timer is triggered, does console shows correct values? Aha! Maybe that's it. Advancing to the next say statement causes the changed global varia...
- Fri Jun 10, 2022 4:50 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]Ranking
- Replies: 16
- Views: 372
- Fri Jun 10, 2022 4:21 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Keeping background after starting a new game
- Replies: 6
- Views: 284
Re: Keeping background after starting a new game
Try to play with 'animation' statement - https://www.renpy.org/doc/html/atl.html ... -statement_ticlock_ wrote: ↑Thu Jun 09, 2022 10:31 pm...Of course, I can add background again:However, obviously in this case the animation is restarted. ...Code: Select all
label start: scene main_menu_background
- Fri Jun 10, 2022 4:16 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]Ranking
- Replies: 16
- Views: 372
- Sat Jun 04, 2022 2:45 pm
- Forum: Ren'Py Cookbook
- Topic: Simple minigames (Screen Language only).
- Replies: 127
- Views: 75997
Re: Simple minigames (Screen Language only).
...1st: how can I add multiple values? if values_list[i] == 'T': ... Like this # And make the cards_list that describes all the cards $ cards_list = [] python: for i in range (0, len(values_list) ): time_penalty = 0.0 if values_list[i] == 'j': time_penalty = 5.0 elif values_list[i] == 'k': time_pen...
- Sat Jun 04, 2022 9:07 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Animation not working while skipping text
- Replies: 6
- Views: 437
- Fri Jun 03, 2022 5:22 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Custom transforms that do image distortion?
- Replies: 2
- Views: 219
- Fri Jun 03, 2022 5:25 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]"On Hide" not working for imagebuttons
- Replies: 8
- Views: 524
Re: "On Hide" not working for imagebuttons
... Didn't dig in to it therefore don't know why, but 'on hide' transform start working if menu screen was replaced by some other menu screen. Try this sample (config.enter_transition = dissolve and config.exit_transition = dissolve are unchanged). transform my_menu_tr(t=0.5): on show, replace: yof...
- Wed Jun 01, 2022 1:36 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Error when pressing a key but no clue
- Replies: 5
- Views: 427
Re: Error when pressing a key but no clue
Yeah, but no, like I said there is no [Ep] or Ep variable anywhere in my code and I didn't modify the Notify screen, there it is (and I'm pretty sure this is the default screen) ... Moreover, since the player is reporting the bug occurs when he press the S key in order to take a screenshot, the mes...