Search found 13 matches

by vilarialight
Thu Sep 05, 2019 10:23 am
Forum: Ren'Py Questions and Announcements
Topic: Is there a way to call a @property method with variables?
Replies: 1
Views: 459

Is there a way to call a @property method with variables?

Hey there. :) I'm trying to do something like this within a class: @property def get_a_number(self, number): return number And calling it like this: player.get_a_number(1) But I get this error: I'm sorry, but an uncaught exception occurred. While running game code: File "game/script.rpy", ...
by vilarialight
Sat Aug 24, 2019 11:41 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Default padding in frames?
Replies: 14
Views: 959

Re: Default padding in frames?

Thanks a lot for the update! That didn't quite get me where I needed to go, but with a little tweaking, it's worked out. Thank you so much for your help! You've been amazing! Here's the end result: https://i.imgur.com/tYeczSn.png screen character_icon(character): style_prefix "ui" zorder 1...
by vilarialight
Sat Aug 24, 2019 9:06 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Default padding in frames?
Replies: 14
Views: 959

Re: Default padding in frames?

Hmm, that doesn't seem to override whatever borders are still blocking it it looks like. https://i.imgur.com/iDsdAYc.png That totally makes sense that it's not the bars, but even with the padding from the frame removed it looks wrong. https://i.imgur.com/gV8tzD7.png I can fix the bars there, but the...
by vilarialight
Sat Aug 24, 2019 8:56 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Default padding in frames?
Replies: 14
Views: 959

Re: Default padding in frames?

Okay cool, thank you. :) So that works for the frames, but it looks like I can't do it on the bar? It says that padding isn't a valid child for it, but I think it's the borders around the bars that are keeping the text from showing in the right place. Do you know a way to redefine the borders there?...
by vilarialight
Sat Aug 24, 2019 8:46 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Default padding in frames?
Replies: 14
Views: 959

Re: Default padding in frames?

Yeah, that's what I figured, but I'm actually not sure how to override it, haha. How do I redefine the Borders in a screen?
by vilarialight
Sat Aug 24, 2019 8:31 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Default padding in frames?
Replies: 14
Views: 959

Re: Default padding in frames?

I actually just searched through the code and found this line in gui.rpy ## Generic frames. define gui.frame_borders = Borders(4, 4, 4, 4) I'm assuming that's what's doing this? But how do I overwrite that in my particular frame? It looks like bars have the same thing: define gui.bar_borders = Borde...
by vilarialight
Sat Aug 24, 2019 8:22 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Default padding in frames?
Replies: 14
Views: 959

Re: Default padding in frames?

Hey there, Thank you very much for the suggestion, but I don't think this has really solved my issue or explained the behavior I'm seeing. It looks like this just adds in more additional padding. Do you know why that padding shows up in the first place? Is there a specific number always added to fra...
by vilarialight
Fri Aug 23, 2019 9:53 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Default padding in frames?
Replies: 14
Views: 959

[SOLVED] Default padding in frames?

Hey, I'm stumped here. Is there some kind of default padding that I'm not taking into account? I'm trying to make a little mana/health slider and I've mostly got it working, but now that I'm trying to put text on the bars, it's doing something funny. :< https://i.imgur.com/SPgaK8x.png Here's my code...
by vilarialight
Thu Aug 22, 2019 10:29 pm
Forum: Ren'Py Questions and Announcements
Topic: Is there a way to stop Roll Forward?
Replies: 3
Views: 718

Is there a way to stop Roll Forward?

Hello! Is there a way to remove the ability to roll forward after a rollback at certain points in the game? Like say the player rolls back to a particular choice. If I want to make sure they can't roll forward again until they make that decision anew, is there a way to accomplish that with some kind...
by vilarialight
Tue Aug 13, 2019 10:11 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] What's the proper way to create/update lists?
Replies: 3
Views: 523

Re: What's the proper way to create/update lists?

Ah! Thank you! That's so simple I'm not sure how I missed it!
by vilarialight
Tue Aug 13, 2019 9:47 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] What's the proper way to create/update lists?
Replies: 3
Views: 523

[SOLVED] What's the proper way to create/update lists?

Hey everyone. :) Thanks in advance for taking a look at this for me. I'm still pretty new to dealing with Ren'Py code and I'm running in to some issues with regards to the rollback function. Right now, I'm defining a new list like this immediately after the start of the game: define available_locati...
by vilarialight
Fri Aug 02, 2019 8:20 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] How do I keep text from disappearing on transition?
Replies: 2
Views: 328

Re: How do I keep text from disappearing on transition?

Thank you so much!

I read over that page like a million times and couldn't seem to get into my brain how it all worked but you definitely cleared it up for me. Popping that in there was exactly what I needed.

Thanks again!
by vilarialight
Fri Aug 02, 2019 7:44 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] How do I keep text from disappearing on transition?
Replies: 2
Views: 328

[SOLVED] How do I keep text from disappearing on transition?

Hi there! I'm looking for a way to keep the dialogue text in my game from disappearing while a background image transitions from one to another. Currently, the dialogue window remains, but the character image on the left side and the text in the box vanish until the background image is done dissolvi...