Search found 7 matches

by kaleidoscopic_kelvin
Sun Feb 04, 2024 8:32 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Applying transform on window within say_arguments_callback function
Replies: 4
Views: 379

Re: Applying transform on window within say_arguments_callback function

Yes! It's working with the two variables separated like that.

Thanks so much!!!
by kaleidoscopic_kelvin
Sun Feb 04, 2024 7:05 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Applying transform on window within say_arguments_callback function
Replies: 4
Views: 379

Re: Applying transform on window within say_arguments_callback function

I used the shake as an example. When I try passing a variable to bubble, it doesn't have any effect, but passing to the say screen works. So I needed to find a more general way to manipulate both bubble and say screens. I was able to manipulate the what properties for both say and bubble dialogue ty...
by kaleidoscopic_kelvin
Sat Feb 03, 2024 5:21 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Applying transform on window within say_arguments_callback function
Replies: 4
Views: 379

[Solved] Applying transform on window within say_arguments_callback function

I want to apply a shake effect to the say window. How do I access the window within the callback code? def say_arguments_callback(char, shake_toggle = False, *args, **kwargs): if shake_toggle: #<window transform> kwargs["what_color"] = "#000" Thanks in advance!
by kaleidoscopic_kelvin
Thu Feb 01, 2024 5:32 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Passing a variable to bubble screen on a specific dialogue line
Replies: 2
Views: 457

[Solved] Passing a variable to bubble screen on a specific dialogue line

I have one dialog line where I want to implement a shake effect hyd_s "Everything ready?" (shake_toggle = True) The character is defined as a bubble type define hyd_s = Character( None , image="hyd" , kind=bubble , what_color="#80b847" , what_font = gui.hyd_font , what_...
by kaleidoscopic_kelvin
Thu Feb 01, 2024 4:06 am
Forum: Ren'Py Questions and Announcements
Topic: Changing speech bubble properties for a specific line of dialog
Replies: 2
Views: 386

Re: Changing speech bubble properties for a specific line of dialog

I wanted to know if there was any way of not having to do it manually. Like maybe even pass some sort of flag to the bubble screen. I do have a workaround where I define a style in scripts.rpy and then pass the what_style directly. hyd_s "Everything ready?" (what_style = "shout_voice&...
by kaleidoscopic_kelvin
Wed Jan 31, 2024 11:41 pm
Forum: Ren'Py Questions and Announcements
Topic: Changing speech bubble properties for a specific line of dialog
Replies: 2
Views: 386

Changing speech bubble properties for a specific line of dialog

I have the following character definition define hyd_s = Character( None , image="hyd" , kind=bubble , what_color="#80b847" , what_font = gui.hyd_font , what_bold = True , what_outlines = [ (absolute(0), "#000", absolute(2), absolute(2)) ] , window_xpos = 0.5 , window_x...