Search found 113 matches

by Chekhov
Thu Nov 11, 2021 4:06 pm
Forum: Ren'Py Questions and Announcements
Topic: Is it possible to grab and rotate an image?
Replies: 6
Views: 683

Re: Is it possible to grab and rotate an image?

...But at some point it stops rotating? I'm so confused how that happens. Try it like transform ticking: subpixel True rotate 0 linear 90 rotate 360 repeat I expected the rotate 0 to undo the prior rotation I have given, but apparently it didn't? Is this a case of "just do it like that, that's...
by Chekhov
Thu Nov 11, 2021 3:39 pm
Forum: Ren'Py Questions and Announcements
Topic: Is it possible to grab and rotate an image?
Replies: 6
Views: 683

Re: Is it possible to grab and rotate an image?

Okay I'm still working on this and am encountering behavior I can't explain.... In the main menu I define: transform dynamicclock: subpixel True linear 90 rotate 360 repeat screen main_menu(): tag menu add "gui/menu_background.jpg" add "gui/time.png" xalign 0.5 ypos -50 xanchor 0...
by Chekhov
Thu Nov 11, 2021 2:09 am
Forum: Ren'Py Questions and Announcements
Topic: Is it possible to grab and rotate an image?
Replies: 6
Views: 683

Is it possible to grab and rotate an image?

I've got a dynamic clock that is half displayed in screen. transform dynamicclock: subpixel True rotate (hour * 15) linear 120.0 rotate 360 repeat # 360/24 = 15, hence rotating by 15 per hour. screen predict_time(): add "images/prediction/time.png" xalign 0.5 yalign -0.8 at dynamicclock I'...
by Chekhov
Fri Oct 29, 2021 1:34 pm
Forum: Ren'Py Questions and Announcements
Topic: What does sensitive mean in the context of screens?
Replies: 1
Views: 343

What does sensitive mean in the context of screens?

https://www.renpy.org/doc/html/screen_p ... _sensitive

I'm trying to wrap my head around it and I've been googling for 20 minutes.

What does sensitive mean in this context?
by Chekhov
Thu Oct 28, 2021 10:38 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Can you display one image multiple times?
Replies: 4
Views: 433

Re: Can you display one image multiple times?

Ocelot wrote: Thu Oct 28, 2021 10:24 am You mean, renpy.show function?
Perfect, thank you for patiently bearing with my lack of being able to find that.
by Chekhov
Thu Oct 28, 2021 9:58 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Can you display one image multiple times?
Replies: 4
Views: 433

Re: Can you display one image multiple times?

Would you be interested in as property ? as The as property takes a name. This name is used in place of the image tag when the image is shown. This allows the same image to be on the screen twice That's great. This solves half my problem. The other is that I wonder if I can do the same through pyth...
by Chekhov
Thu Oct 28, 2021 9:25 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Can you display one image multiple times?
Replies: 4
Views: 433

[Solved] Can you display one image multiple times?

I'm playing around with the ATL and trying to see its limits. One thing I'm wondering is if the same image can be displayed twice (or more). The following code for example doesn't work, as it seems the new commands just decide the new info for the sparkle image. I'm sure I could define sparkle multi...
by Chekhov
Tue Oct 05, 2021 1:33 pm
Forum: Ren'Py Questions and Announcements
Topic: Can you generate a ren'py menu from a list?
Replies: 2
Views: 387

Re: Can you generate a ren'py menu from a list?

... You could make your own screen and create buttons from the list, or use python equivalent of menu statement - https://www.renpy.org/doc/html/statement_equivalents.html#choice-menus Here's an example (search the renpy.display_menu in 'quiz_game_loop' label) - https://lemmasoft.renai.us/forums/vi...
by Chekhov
Tue Oct 05, 2021 11:38 am
Forum: Ren'Py Questions and Announcements
Topic: Can you generate a ren'py menu from a list?
Replies: 2
Views: 387

Can you generate a ren'py menu from a list?

I'm trying to do as much as possible with python rather than ren'py commands. Why? Because I'm a madman. I've created a large library of comparable commands that the player can use to do various things, like navigate. Like when trying to get across a body of water, one can choose to sail, row, swim,...
by Chekhov
Sat Apr 10, 2021 9:08 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Is it possible to have traceback.txt to be saved/opened as traceback.rpy instead?
Replies: 6
Views: 718

Re: Is it possible to have traceback.txt to be saved/opened as traceback.rpy instead?

Software developpers can be principled individuals, so your guilty adhesion to Notepad is perfectly normal lol :wink: That's nice of you to say, but I consider it completely unwise and emotional instead, lol. Glad to hear that. Remember you may lose this modification next time you'll update Ren'Py ...
by Chekhov
Fri Apr 09, 2021 9:11 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Is it possible to have traceback.txt to be saved/opened as traceback.rpy instead?
Replies: 6
Views: 718

Re: Is it possible to have traceback.txt to be saved/opened as traceback.rpy instead?

If you don't like notepad already, this shouldn't be a huge loss It's more of a guilty pleasure and refusal to budge on that front, lol. Like I know I shouldn't use it, shouldn't like it.... but I do. ----- As for your solution, in the first test it worked like it should. We'll see about possible s...
by Chekhov
Fri Apr 09, 2021 1:53 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Is it possible to have traceback.txt to be saved/opened as traceback.rpy instead?
Replies: 6
Views: 718

[SOLVED] Is it possible to have traceback.txt to be saved/opened as traceback.rpy instead?

Under prefferences of course one can decide which text editor to use. I use sublime text. However, I also just use notepad for .txt files (I know I know, bad program, old habits). So when I have an error, traceback.txt is either opened in a another editor, not opened automatically at all, or opened ...
by Chekhov
Wed Apr 07, 2021 12:15 am
Forum: Ren'Py Questions and Announcements
Topic: Why are things going wrong with reloading games?
Replies: 1
Views: 501

Why are things going wrong with reloading games?

One thing I never quite cleared up in the interaction between ren'py / python, is how to use variables in the right way, so that rollbacks work well and that saving/reloading functions as it should. I've recently picked up ren'py again, so I don't have a specific example. Let me express how I think ...
by Chekhov
Sun Oct 06, 2019 1:25 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]How to show emails in receiving order?
Replies: 5
Views: 772

Re: How to show emails in receiving order?

You're going to have to figure out a way to record and use the order that the e-mails are received. You could either use a python list and store the order that they've been received, or you could build something a little more robust where you pass the contents of the mail to that list and then read ...
by Chekhov
Sat Oct 05, 2019 1:27 am
Forum: Ren'Py Questions and Announcements
Topic: How to make registered audio channel be controlled in game's preference menu?
Replies: 3
Views: 776

Re: How to make registered audio channel be controlled in game's preference menu?

I've never done it myself, but the settings for the sound effects seem to be set in the screens.rpy file: if config.has_music: label _("Music Volume") hbox: bar value Preference("music volume") if config.has_sound: label _("Sound Volume") hbox: bar value Preference(&quo...