Search found 297 matches

by Nanahs
Fri Jan 04, 2019 12:13 pm
Forum: Ren'Py Cookbook
Topic: telegram messenger (2 version)
Replies: 118
Views: 15451

Re: telegram messenger (2 version)

Sorry to bother again, but how do I make the messenger (the one with group chat) stay in the middle of the screen? #images.rpy transform move_messenger(t=1.0): xalign .9 yalign .5 on show: xalign 1.5 easein t xalign .9 on hide: easeout t xalign 1.5 alpha 0 The default is 'xalign .9', you can replac...
by Nanahs
Fri Jan 04, 2019 7:46 am
Forum: Ren'Py Cookbook
Topic: telegram messenger (2 version)
Replies: 118
Views: 15451

Re: telegram messenger (2 version)

Sorry to bother again, but how do I make the messenger (the one with group chat) stay in the middle of the screen?
by Nanahs
Thu Jan 03, 2019 1:07 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How can I show/hide screen without de fade in/out effect?
Replies: 7
Views: 260

Re: How can I show/hide screen without de fade in/out effect?

Oh! I did something that worked: label bedroomanna: scene bedroom1 show screen check_daytime $hour = datetime.datetime.now().hour if hour in [20, 21, 22, 23, 00, 1, 2, 3, 4, 5]: hide screen evening show screen night $startTime= 20 $endTime= 21 if hour in [6, 7, 8, 9, 10, 11]: hide screen night show...
by Nanahs
Thu Jan 03, 2019 1:06 pm
Forum: Ren'Py Cookbook
Topic: TUTORIAL: Changing image/screen according to real time.
Replies: 0
Views: 1105

TUTORIAL: Changing image/screen according to real time.

Hello guys! I had a lot of trouble trying to figure out how to make this work properly. I want to thank everyone who helped me and also those who are always trying to help here in this forum. I found a simple way of changing a screen/image according to real time, and I'd like to share with you. In m...
by Nanahs
Thu Jan 03, 2019 10:03 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How can I show/hide screen without de fade in/out effect?
Replies: 7
Views: 260

Re: How can I show/hide screen without de fade in/out effect?

Oh! I did something that worked: label bedroomanna: scene bedroom1 show screen check_daytime $hour = datetime.datetime.now().hour if hour in [20, 21, 22, 23, 00, 1, 2, 3, 4, 5]: hide screen evening show screen night $startTime= 20 $endTime= 21 if hour in [6, 7, 8, 9, 10, 11]: hide screen night show ...
by Nanahs
Thu Jan 03, 2019 7:50 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How can I show/hide screen without de fade in/out effect?
Replies: 7
Views: 260

Re: How can I show/hide screen without de fade in/out effect?

--------------- The problem is that whenever the timer jumps to the label again to "refresh/update" the windows screen, it makes a fadein/out effect and it looks weird. ----------- With thees additions to your script show/hide will only run when the screen need to be changed. That will at least mak...
by Nanahs
Wed Jan 02, 2019 7:25 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How can I show/hide screen without de fade in/out effect?
Replies: 7
Views: 260

Re: How can I show/hide screen without de fade in/out effect?

For example, there's a label: label bedroom: scene bedromm show screen lights The "screen lights" always have that fadein effect when you start the label. Like this: https://i.ibb.co/tCCHg3G/bdb.png I wanted the screen to appear directly as it is on the second image. Without the fadein. Is there a ...
by Nanahs
Wed Jan 02, 2019 5:44 pm
Forum: Ren'Py Cookbook
Topic: telegram messenger (2 version)
Replies: 118
Views: 15451

Re: telegram messenger (2 version)

Thank you SOOO much sDextra! I'll try that :)
by Nanahs
Wed Jan 02, 2019 3:33 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How can I show/hide screen without de fade in/out effect?
Replies: 7
Views: 260

[Solved] How can I show/hide screen without de fade in/out effect?

For example, there's a label: label bedroom: scene bedromm show screen lights The "screen lights" always have that fadein effect when you start the label. Like this: https://i.ibb.co/tCCHg3G/bdb.png I wanted the screen to appear directly as it is on the second image. Without the fadein. Is there a w...
by Nanahs
Wed Jan 02, 2019 2:32 pm
Forum: Ren'Py Cookbook
Topic: telegram messenger (2 version)
Replies: 118
Views: 15451

Re: telegram messenger (2 version)

Update to Messenger 1.3 Input function for name $ msg(None, name_input=True) GitHub Thank you SO much for this code! :) Sorry to bother you again :oops: :lol: But is it possible to "attach" the avatar to the "who"? Because in my game I let the player name all the characters. So this part won't work...
by Nanahs
Wed Jan 02, 2019 11:27 am
Forum: Ren'Py Questions and Announcements
Topic: The screen doesn't change according to real time?
Replies: 8
Views: 355

Re: The screen doesn't change according to real time?

Thanks for the code! :) But maybe I did something wrong? It gave me this error message "'Jump' is not a keyword argument or valid child for the timer statement." Then I tried to add "True" before "Jump" as I saw other people doing. The game launched. But the image still didn't change :?: Of course ...
by Nanahs
Wed Jan 02, 2019 11:25 am
Forum: Ren'Py Cookbook
Topic: telegram messenger (2 version)
Replies: 118
Views: 15451

Re: telegram messenger (2 version)

Thank you! That's great! Edit: Sorry, but how would you get the input function to work in a text message? Like naming your character? Update to Messenger 1.3 Input function for name $ msg(None, name_input=True) GitHub Thank you SO much for this code! :) Sorry to bother you again :oops: :lol: But is...
by Nanahs
Tue Jan 01, 2019 9:20 pm
Forum: Ren'Py Questions and Announcements
Topic: The screen doesn't change according to real time?
Replies: 8
Views: 355

Re: The screen doesn't change according to real time?

This happens because whatever is evaluating the image to show, checks what hour it is, and then never checks again. You need to place that somewhere that continually recheck, such as a python function with a loop or a screen. I haven't got access to any sample code at the moment, but I may be able ...
by Nanahs
Tue Jan 01, 2019 9:19 pm
Forum: Ren'Py Questions and Announcements
Topic: The screen doesn't change according to real time?
Replies: 8
Views: 355

Re: The screen doesn't change according to real time?

Alternatively you could create the image as a dynamic displayable that periodically checks which image to actually show... init python: import datetime def time_of_day_dynamic(st, at, **kwargs): if not 'image_list' in kwargs: return Text("No image_dict found"), 60.0 return kwargs['image_list'][ int...
by Nanahs
Tue Jan 01, 2019 9:13 pm
Forum: Ren'Py Questions and Announcements
Topic: The screen doesn't change according to real time?
Replies: 8
Views: 355

Re: The screen doesn't change according to real time?

You have to call a hidden screen for that. In your case it would look like this: screen check_daytime(): timer 3600.0 repeat action Jump("mylabel") #every 3600s (1h) jump to 'label mylabel' label start: show screen check_daytime #start timer "blablabla" ... return label mylabel: if hour in [6, 7, 8...