Search found 2981 matches

by Alex
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...
by Alex
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") )...
by Alex
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

errantknight wrote:
Fri Jul 01, 2022 2:49 pm
...
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)
by Alex
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(...
by Alex
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

maddens23 wrote:
Fri Jun 17, 2022 8:04 am
...Is it possible to recreate something like that or is it too complicated? Honestly, i wouldn't know where to start...
This might help a bit - viewtopic.php?f=8&t=49213#p483820
by Alex
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...
by Alex
Fri Jun 10, 2022 4:50 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Ranking
Replies: 16
Views: 372

Re: Ranking

senisanti wrote:
Fri Jun 10, 2022 4:45 pm
I can't make a picture of my ranking, I can't do it, that's what I ask.
I ask you to give me a method to do the ranking.
Khm, I mean draw it with pen on paper scan/photo it and post image here...
by Alex
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

_ticlock_ wrote:
Thu Jun 09, 2022 10:31 pm
...Of course, I can add background again:

Code: Select all

label start:
     scene main_menu_background
However, obviously in this case the animation is restarted. ...
Try to play with 'animation' statement - https://www.renpy.org/doc/html/atl.html ... -statement
by Alex
Fri Jun 10, 2022 4:16 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Ranking
Replies: 16
Views: 372

Re: Ranking

senisanti wrote:
Fri Jun 10, 2022 3:29 pm
...I just need a code that puts the teams in order of their score in a column format, like the first code you made.
Could you draw a picture how you want your ranking screen looks like and post it here?
by Alex
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...
by Alex
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

Re: Animation not working while skipping text

Game R wrote:
Thu Jun 02, 2022 12:20 pm
Hello.
I have a problem with animation in screen say. When I skip text, the animation freezes on the first frame (9 frames in the animation). ...
Try to show 'bdgr_skip_button' screen on its own (not as part of say screen).
by Alex
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...
by Alex
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...