Search found 9 matches

by Lonewhale
Sun Mar 29, 2020 11:35 am
Forum: Ren'Py Questions and Announcements
Topic: Rollback and Classes
Replies: 3
Views: 41

Re: Rollback and Classes

I knew that this is something that has long been known! Thank you very much! By the way, maybe you know how to make the transformation into text work every frame? init python: a = "bla-bla-bla" screen temp_screen: text a: slow_cps 10 start: show screen temp_screen "Now the conclusion is smooth" $ a ...
by Lonewhale
Sun Mar 29, 2020 9:15 am
Forum: Ren'Py Questions and Announcements
Topic: Rollback and Classes
Replies: 3
Views: 41

Rollback and Classes

Hello. I ran into a problem that unwinding does not work on objects of a custom class. Simple example: init python: class temp_class(object): def __init__(self): self.a = 0 A = temp_class() label start: "At this point a = 0: [A.a]" "Here, too, a = 0: [A.a]" # a == 1! $ A.a +=1 "Now a = 1: [A.a]" #bu...
by Lonewhale
Sat Mar 21, 2020 3:08 pm
Forum: Ren'Py Questions and Announcements
Topic: Is it possible to show nvl and adv at the same time?
Replies: 7
Views: 223

Re: Is it possible to show nvl and adv at the same time?

Looks like I found a solution to persistent calls - action, which work when they appear and redraw. In short. screen say(who, what): on "show" action C_Fraud(who, what) on "replace" action C_Fraud(who, what) ... init python: C_Fraud = renpy.curry(My_fraud) def My_fraud(who, what): global my_text if ...
by Lonewhale
Sat Mar 21, 2020 2:12 pm
Forum: Ren'Py Questions and Announcements
Topic: Is it possible to show nvl and adv at the same time?
Replies: 7
Views: 223

Re: Is it possible to show nvl and adv at the same time?

I think the problem arises precisely because I am trying to introduce a separation - the words of the narrator in one place, the words of the characters in another. But I can’t imagine how you can write program code without using conditions.
by Lonewhale
Sat Mar 21, 2020 2:06 pm
Forum: Ren'Py Questions and Announcements
Topic: Is it possible to show nvl and adv at the same time?
Replies: 7
Views: 223

Re: Is it possible to show nvl and adv at the same time?

Thanks for the helpful answers, Alex, and sorry for missing. 1) I still don’t understand why your code is normally displayed only in renpy 6.15 https://lemmasoft.renai.us/forums/viewtopic.php?f=8&t=23434#p293323 2) It's not clear why 'fake_action' screen should appear at all - did you set the narrat...
by Lonewhale
Sun Mar 15, 2020 9:52 am
Forum: Ren'Py Questions and Announcements
Topic: Is it possible to show nvl and adv at the same time?
Replies: 7
Views: 223

Re: Is it possible to show nvl and adv at the same time?

To hell, I decided to fake it. But ran into a stupid problem. I copied the words of the narrator, and showed them on the screen when the character spoke. But somehow, it was not the words that the narrator spoke, but those that he said at the very end. I seem to have already heard about this problem...
by Lonewhale
Wed Mar 11, 2020 2:40 pm
Forum: Ren'Py Questions and Announcements
Topic: Is it possible to show nvl and adv at the same time?
Replies: 7
Views: 223

Is it possible to show nvl and adv at the same time?

Hey. :) Can someone tell me how you can display both Adv and Nvl at the same time? With the help of other people's recipes, I can intercept the text from the screen say, and display it on my own. But at the same time, the ability to use part of the tags, such as {w}, {cps} and others, is lost. In sh...
by Lonewhale
Sat May 18, 2019 3:14 am
Forum: Ren'Py Questions and Announcements
Topic: Work with sprites
Replies: 3
Views: 192

Re: Work with sprites

Okay, this is a slide change animation. I have not tried to study this topic, so thank you. Actually, I'm interested in something else - so that the sprite in the game could breathe, blink, or jump. in conjunction with a modular clothing system, emotions. Is it real, and in what ways can it be done?...
by Lonewhale
Sat May 18, 2019 12:10 am
Forum: Ren'Py Questions and Announcements
Topic: Work with sprites
Replies: 3
Views: 192

Work with sprites

Hello. Please tell me how to create an image of the character in the game. So far I have found the following options: 1. use one image for each character; 2. using Live Composite; 3. using the Sprite class. But the topic has not yet been studied. Interested in animating pictures, modularity. Thank. ...