Search found 12 matches

by theyeeguy
Tue Oct 12, 2021 8:33 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Conditional Formatting for the Dialogue Box in the Say Screen
Replies: 3
Views: 431

Re: Conditional Formatting for the Dialogue Box in the Say Screen

screen say(who, what): if who: window: vbox: text who: id "who" text what: id "what" else: text what: id "what" xalign 0.5 yalign 0.5 The following is a list of points that are all separate so you should figure out what works for you. I did not know assigning propertie...
by theyeeguy
Mon Oct 11, 2021 5:44 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Conditional Formatting for the Dialogue Box in the Say Screen
Replies: 3
Views: 431

[SOLVED] Conditional Formatting for the Dialogue Box in the Say Screen

Hi All. I've been having trouble as of late with trying to make conditionals work with the say_screen. Basically I may have 2 types of speakers: a Narrator/Monologue type which has its text displayed on the center in a specific font and its who variable not visible, and the default Character type wh...
by theyeeguy
Sat Sep 25, 2021 3:35 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Positioning images with an Absolute value
Replies: 6
Views: 764

Re: Positioning images with an Absolute value

This worked for me image test: "bg_001_01" anchor (0,0) xpos absolute(100.5) ypos absolute(0.0) label start: show test "test" return Check if you have absolute replaced somewhere in script maybe. Another option, delete lines with absolute and type them again, maybe some weird ch...
by theyeeguy
Sat Sep 25, 2021 4:23 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Positioning images with an Absolute value
Replies: 6
Views: 764

Re: Positioning images with an Absolute value

What about when I'm positioning it as an absolute type? Is there any way to specify that I'm trying to position my image 658.3458 subpixel in the y axis? I might be understanding it wrong but that's what I got from reading this in the position section. absolute (like absolute(100.25)) An absolute nu...
by theyeeguy
Fri Sep 24, 2021 4:31 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Positioning images with an Absolute value
Replies: 6
Views: 764

[SOLVED] Positioning images with an Absolute value

Greetings everyone. I've run into a problem where I tried to position an image with its xpos/ypos as an absolute value. Shown below is the code of the image. image bg2-desert: "backgrounds2/desert-2.png" xanchor 0 yanchor 0 xpos absolute(0.0) ypos absolute(658.3458) Running said code resul...
by theyeeguy
Thu Sep 23, 2021 7:38 pm
Forum: Ren'Py Questions and Announcements
Topic: How is say_label overriding my custom style when I've already removed it from everywhere?
Replies: 5
Views: 618

Re: How is say_label overriding my custom style when I've already removed it from everywhere?

Thank you for the information, I appreciate it.

For now I'm just using the incomplete solution of making say_label inherit properties from my custom style to be able to get the results I want. I'm still curious however, as to how I managed to make it work last time without this workaround.
by theyeeguy
Thu Sep 23, 2021 3:49 pm
Forum: Ren'Py Questions and Announcements
Topic: How is say_label overriding my custom style when I've already removed it from everywhere?
Replies: 5
Views: 618

Re: How is say_label overriding my custom style when I've already removed it from everywhere?

1. I just don't understand how it is overriding the style I assigned to it even though it has been removed entirely. 2. Thank you very much for this, I'll keep it in mind when working with Ren'Py in the future. So I have tried deleting everything in the cache folder as well as the .rpyc files, only ...
by theyeeguy
Thu Sep 23, 2021 11:06 am
Forum: Ren'Py Questions and Announcements
Topic: How is say_label overriding my custom style when I've already removed it from everywhere?
Replies: 5
Views: 618

How is say_label overriding my custom style when I've already removed it from everywhere?

I was trying to replicate the solution that was given to me in my previous post that changes the properties of text through a custom style. It turned out to be simple, specify a style "style_name" after the text. It then inherits the properties within the style_name , simple and makes sens...
by theyeeguy
Tue Sep 21, 2021 12:13 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Changing fonts for a custom window
Replies: 6
Views: 597

Re: [SOLVED] Changing fonts for a custom window

I kind of understand now. I'll try reading up more on it in the future. Thanks once again!

Good luck to all of us indeed o/
by theyeeguy
Tue Sep 21, 2021 6:40 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Changing fonts for a custom window
Replies: 6
Views: 597

Re: Changing fonts for a custom window

Thank you very much! Code presented above did the trick. I even managed to modify it through gui.rpy. Although I did have trouble understanding what you meant by using style_prefix. Reading the documentation I couldn't find examples of using it. Would you mind explaining what it does if it's not to...
by theyeeguy
Mon Sep 20, 2021 9:28 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Changing fonts for a custom window
Replies: 6
Views: 597

Re: Changing fonts for a custom window

You can point a screen element with a mouse and press shift-i to view the structure of the displayables and the styles applied. Style names apply automatically according to a simple algorithm. See: https://www.renpy.org/doc/html/style.html https://www.renpy.org/doc/html/style_properties.html#style-...
by theyeeguy
Mon Sep 20, 2021 9:09 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Changing fonts for a custom window
Replies: 6
Views: 597

[SOLVED] Changing fonts for a custom window

Been tinkering around with Ren'Py lately, and I decided to make both gui.rpy and screens.rpy from scratch in order to better understand the engine. I kind of get how some things work now, but currently I'm stuck on how to change the font for the text in a custom window I named (following the default...