Search found 3 matches

by LiveinAPuddle
Sat Dec 16, 2023 1:19 pm
Forum: Ren'Py Questions and Announcements
Topic: how to swicth textbox when narration
Replies: 3
Views: 3732

Re: how to swicth textbox when narration

Ocelot wrote: Sat Dec 16, 2023 12:26 pm I do not understand what you are trying to do there. who is a string, it cannot be a number.
I hope when character said something,it used first style and when there's no character,it'll use another style.
by LiveinAPuddle
Sat Dec 16, 2023 11:41 am
Forum: Ren'Py Questions and Announcements
Topic: how to swicth textbox when narration
Replies: 3
Views: 3732

how to swicth textbox when narration

I've type code like in screens.rpy: init python: def calculate_window_style(who): return "window1" if who is 0 else "window" python: window_style = calculate_window_style(who) screen say(who, what): style_prefix "say" python: window_style = calculate_window_style(who) w...
by LiveinAPuddle
Fri May 26, 2023 7:10 am
Forum: Ren'Py Questions and Announcements
Topic: Character avatars in nvl mode?
Replies: 5
Views: 546

Re: Character avatars in nvl mode?

okay update, I actually figured out how to do this on my own finally so I figured I'd share incase anyone else needs this. I used this code in the nvl menu screen code and it works like a charm if d.who is not None: if d.who == 'Skyler': add "images/skyler avi.png" if d.who == 'Ethan': ad...