Search found 153 matches
- Mon Aug 22, 2022 5:24 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Inconsistent centering, but only for the first line?
- Replies: 10
- Views: 326
Re: Inconsistent centering, but only for the first line?
Instead of a bunch of line breaks, for formatting like this, I'd suggest triple quoted strings https://www.renpy.org/doc/html/dialogue.html#monologue-mode I tried doing that, but it keeps giving me issues with indentation, even though it lines up with the rest of the indentation in the label. I tri...
- Mon Aug 22, 2022 5:23 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Inconsistent centering, but only for the first line?
- Replies: 10
- Views: 326
Re: Inconsistent centering, but only for the first line?
I suggest using a screen to show something like this to the player, not some "centered" character that is weird anyway in my opinion. And why did you indent lines after "scene black with fade"? Would I not still have to find some way to center the text in that case? I'm not sure why using it is bad...
- Mon Aug 22, 2022 5:18 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Inconsistent centering, but only for the first line?
- Replies: 10
- Views: 326
- Mon Aug 22, 2022 5:16 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Inconsistent centering, but only for the first line?
- Replies: 10
- Views: 326
Re: Inconsistent centering, but only for the first line?
Yeah, I didn't realize it was going to do that.Imperf3kt wrote: ↑Mon Aug 22, 2022 5:38 amThats a quirk of the forum bbcode.m_from_space wrote: ↑Mon Aug 22, 2022 2:04 amAnd why did you indent lines after "scene black with fade"?
- Sun Aug 21, 2022 4:00 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Inconsistent centering, but only for the first line?
- Replies: 10
- Views: 326
Re: Inconsistent centering, but only for the first line?
Update-
It all displays correctly if I do this:
But why is that?
It all displays correctly if I do this:
Code: Select all
centered "[v_date]\n[v_time]{p=0.25}\n\n[v_area]\n[v_room]"- Sun Aug 21, 2022 3:55 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Inconsistent centering, but only for the first line?
- Replies: 10
- Views: 326
[Solved] Inconsistent centering, but only for the first line?
I've noticed that when I try to display strings as centered, one of them consistently does not display in the center, but rather, off to the side. Or maybe, it's that all of the others are slightly to the side? scene black with fade # VARIABLE SETTING - change or comment out $ v_date = "???" $ v_tim...
- Sun Aug 21, 2022 7:31 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] How to best write out and organize conditional logic when using buttons?
- Replies: 5
- Views: 333
Re: How to best write out and organize conditional logic when using buttons?
Okay, I decided to try a different approach to the screen using a frame instead of a for loop (sorry!), and while it's not especially elegant, it does work! screen sunday(): frame: xsize 340 ysize 660 xpos 80 ypos 60 padding (0, 0) # Manually reset padding background Frame("gui/cellphone.png") text ...
- Sun Aug 21, 2022 4:32 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] How to best write out and organize conditional logic when using buttons?
- Replies: 5
- Views: 333
Re: How to best write out and organize conditional logic when using buttons?
The bar is supposed to be read-only right? If so then you can make set its value/range properties to a fixed number. The fixed value would be is the bar_val in the example, the range you can set it in the screen itself as 1.0. This would prevent interactions (sliding etc.). If I'm not mistaken, I w...
- Sun Aug 21, 2022 2:52 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] How to use a variable as an image attribute?
- Replies: 11
- Views: 483
[Solved] How to use a variable as an image attribute?
Hello again everyone, I have another question. Let's say I have two variants of a sprite, one where a character is wearing cold weather clothing and one where the character is wearing hot weather clothing. The attributes as I have it now might look like: yui cold pout However, because events don't h...
- Sun Aug 21, 2022 2:38 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] How to best write out and organize conditional logic when using buttons?
- Replies: 5
- Views: 333
Re: How to best write out and organize conditional logic when using buttons?
Thank you for streamlining the logic on the conditionals there. What I mean is, if I want to display a bar in the area that the button is, will displaying the bar "above" the button (I assume it would be on another layer?) prevent interaction with the button? Does including that bar in the same fram...
- Sat Aug 20, 2022 4:51 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] How to best write out and organize conditional logic when using buttons?
- Replies: 5
- Views: 333
[Solved] How to best write out and organize conditional logic when using buttons?
Hi all, sorry to ask yet another question, but I was wondering how best to handle things like choosing which event to run from a button with multiple conditions at play? I HAVE something functional, but I feel like there must be a better way than how I'm doing it. Here's an example of one of my mess...
- Wed Aug 17, 2022 3:55 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] SetVariable to copy a variable value to another variable's value?
- Replies: 2
- Views: 267
Re: SetVariable to copy a variable value to another variable's value?
That looks like it works! Thank you!
- Tue Aug 16, 2022 5:21 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Making a variable in a screen dependent on another variable?
- Replies: 3
- Views: 308
Re: Making a variable in a screen dependent on another variable?
I think what I'll do is change it to a solid bar with accurately proportional progress markers. That might be even easier, at least, in terms of making it clear how progress you've made.
Thank you again for the help, Ocelot.
Thank you again for the help, Ocelot.
- Tue Aug 16, 2022 5:18 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] SetVariable to copy a variable value to another variable's value?
- Replies: 2
- Views: 267
[Solved] SetVariable to copy a variable value to another variable's value?
Hi all, I'm trying to copy a variable's value to a persistent variable at the end of a game playthrough. Basically, the process is this: Take value from variable Copy variable to separate persistent variable Start new game Persistent variable's value is copied to non-persistent variable That variabl...
- Mon Aug 15, 2022 7:00 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Making a variable in a screen dependent on another variable?
- Replies: 3
- Views: 308
[Solved] Making a variable in a screen dependent on another variable?
Hi all, I'm trying to create a bar in a screen to display a character's stats. That's all well and good, except the bar isn't a single solid block, but rather, 5 dots. I've included the background UI to show where the dots go. I can make the bar show the image like normal, but I didn't like how it w...