Search found 5 matches

by JRGrim
Wed Feb 12, 2020 3:10 am
Forum: Ren'Py Questions and Announcements
Topic: Accessing 2 Object Variables in a Single Interpolation
Replies: 5
Views: 611

Re: Accessing 2 Object Variables in a Single Interpolation

trooper6 wrote: Wed Feb 12, 2020 3:05 am You could use properties.
Hey, neat! Thanks for that. I didn't know a property could return like a variable. I tried something similar, but defined a method, which just returned the method object. LOL
by JRGrim
Wed Feb 12, 2020 2:55 am
Forum: Ren'Py Questions and Announcements
Topic: Accessing 2 Object Variables in a Single Interpolation
Replies: 5
Views: 611

Re: Accessing 2 Object Variables in a Single Interpolation

It seems like these variables are part of a class, is that true? How is the class defined? It is a class, and this is the simplified version: init -4 python: class Game(object): def __init__(self): self.day_times = ["Morning", "Noon", "Afternoon", "Evening", ...
by JRGrim
Wed Feb 12, 2020 1:13 am
Forum: Ren'Py Questions and Announcements
Topic: Accessing 2 Object Variables in a Single Interpolation
Replies: 5
Views: 611

Accessing 2 Object Variables in a Single Interpolation

According to Tom, it's not possible to double interpolate using str.format(), which makes sense after reading the Python documentation on the subject. However, what I've been practicing is simplifying my code, cutting back on needles disposable variables cluttering the namespace. Currently, I'm look...
by JRGrim
Sat Feb 08, 2020 4:47 pm
Forum: Ren'Py Questions and Announcements
Topic: Bug: Screen Action Hide() Moving to Next Say()
Replies: 2
Views: 469

Re: Bug: Screen Action Hide() Moving to Next Say()

Found a solution, but would still like to hear other people's thoughts on this and why it happens. If you remove the "return True" from "clear_shown_notify()" it no longer skips the dialogue. Not sure why the return value from the "action Function()" causes this, since ...
by JRGrim
Sat Feb 08, 2020 4:38 pm
Forum: Ren'Py Questions and Announcements
Topic: Bug: Screen Action Hide() Moving to Next Say()
Replies: 2
Views: 469

Bug: Screen Action Hide() Moving to Next Say()

Hello all. For the most part I've been able to solve my own issues by not sleeping and reading, a lot. It always seems to be the "easy" things make it difficult for find a solution through Google search. I'm going to try my best to explain the issue, which is simple in my head, but apparen...