Search found 964 matches

by m_from_space
Sat Apr 20, 2024 8:17 am
Forum: Ren'Py Questions and Announcements
Topic: Adding a pause to the choice screen?
Replies: 1
Views: 173

Re: Adding a pause to the choice screen?

Is there perhaps a way to automate this, or change the choice screen in some way to do this automatically? I came up with a solution. Assuming we have a 2 second fadeout delay (just to see that it works): # create a fade effect with the showif keyword transform choice_fade: alpha 0.0 on appear: lin...
by m_from_space
Sat Apr 20, 2024 7:50 am
Forum: Ren'Py Questions and Announcements
Topic: How to change scroll bar in a screen
Replies: 1
Views: 156

Re: How to change scroll bar in a screen

I want to have different looking scroll bars depending on what screen is seen. I know that you can change the images in the gui folder but I want to use multiple different images, how do I do that in a frame inside a screen? I don't think Renpy allows for different scrollbar styles, since it only r...
by m_from_space
Sat Apr 20, 2024 7:45 am
Forum: Ren'Py Questions and Announcements
Topic: Unable to select project directory
Replies: 2
Views: 109

Re: Unable to select project directory

NeonNights wrote: Fri Apr 19, 2024 5:34 pm Can anyone help? Thanks!
Inside the Renpy launcher you have the "preferences" -> "General" -> "Projects Directory". You should be able to insert your directory there, for example /home/user/myprojects
by m_from_space
Sat Apr 20, 2024 7:38 am
Forum: Ren'Py Questions and Announcements
Topic: shorter translate strings patch for renpy game
Replies: 5
Views: 223

Re: shorter translate strings patch ?

Not necessarily, some people call "translation patch" or "translation mod" for renpy games. You just create a file with the extension .rpy and write the code in it. Alright, I now get what you are talking about. Actually modding a game, by inserting a .rpy file and therefore mak...
by m_from_space
Sat Apr 20, 2024 7:20 am
Forum: Ren'Py Questions and Announcements
Topic: Collapsible lists for a RenPy screen? [SOLVED]
Replies: 4
Views: 95

Re: Collapsible lists for a RenPy screen?

Hm I see. Thanks for the response, chief. I do have a question, tho; screen collapsable_list(title, items): When I define screens, I have never used that parenthesis, and I can't figure what it is supposed to be doing here. If it's not too much trouble, could you give me a bit of an explanation/som...
by m_from_space
Sat Apr 20, 2024 2:35 am
Forum: Ren'Py Questions and Announcements
Topic: Passing a list parameter to a screen
Replies: 1
Views: 85

Re: Passing a list parameter to a screen

Any help anyone could render would be greatly appreciated. Thank you! Just make SquadNPCs a global variable the right way and then do not use any screen arguments anymore. I mean why pass it around like this, if it will always be this list? Arguments are useful if they change. Do NOT create variabl...
by m_from_space
Sat Apr 20, 2024 2:24 am
Forum: Ren'Py Questions and Announcements
Topic: Collapsible lists for a RenPy screen? [SOLVED]
Replies: 4
Views: 95

Re: Collapsible lists for a RenPy screen?

The problem is that I have no idea on how to make a collapsible list and google has yielded no results so far. I suggest you create a sub-screen that acts as any collapsable list and then use it in another screen whenever you want to display it. default quests_incomplete = ["Quest 2", &qu...
by m_from_space
Thu Apr 18, 2024 3:07 pm
Forum: Ren'Py Questions and Announcements
Topic: shorter translate strings patch for renpy game
Replies: 5
Views: 223

Re: shorter translate strings patch ?

I don't have any coding knowledge, I just know where the characters dialogue lines are and few patches that I found: init python: def replace_text(t): t = t.replace("old text", "new text") t = t.replace("old text", "new text") return t config.say_menu_text_fi...
by m_from_space
Thu Apr 18, 2024 9:32 am
Forum: Ren'Py Questions and Announcements
Topic: shorter translate strings patch for renpy game
Replies: 5
Views: 223

Re: shorter translate strings patch ?

Is it possible to make a translate strings patch shorter? What do you mean by "patch"? Am I missing something? You present string translations. They have to be in the format you showed, using a newline, not a comma. What are you hoping to gain when making your translation file less readab...
by m_from_space
Thu Apr 18, 2024 7:02 am
Forum: Ren'Py Questions and Announcements
Topic: What does define config.adjust_attributes = { } do?
Replies: 7
Views: 204

Re: What does define config.adjust_attributes = { } do?

I'm wondering how to write a python function that automatically changes my characters clothing, without having to write a lengthy set of "if" statements in the layered image. Maybe I should point out, that you don't have to write all if conditions inside the layered image. You can also de...
by m_from_space
Thu Apr 18, 2024 6:39 am
Forum: Ren'Py Questions and Announcements
Topic: What does define config.adjust_attributes = { } do?
Replies: 7
Views: 204

Re: What does define config.adjust_attributes = { } do?

I want the player to be able swap clothing, and have it stick. It's the first time you mention that you want the player to change the clothes. How am I supposed to know that? config.adjust_attributes helps you define attributes of layered images depending on contents of variables. This config varia...
by m_from_space
Thu Apr 18, 2024 5:49 am
Forum: Ren'Py Questions and Announcements
Topic: Creating a texting function for a phone screen
Replies: 3
Views: 124

Re: Creating a texting function for a phone screen

label phone_jump: python: while messages_queue: text = messages_queue.pop(0) messages_history.append(f"{text}") call screen phone_messages This seems to work almost exactly how I want it to but the only issue is that all the messages show instantly rather than one by one as the phone/scre...
by m_from_space
Wed Apr 17, 2024 6:17 am
Forum: Ren'Py Questions and Announcements
Topic: Creating a texting function for a phone screen
Replies: 3
Views: 124

Re: Creating a texting function for a phone screen

I want to add a texting function to a phone I made in Ren'Py. I don't know how much experience in programming in Python and Renpy you have, but saving messages can be achieved very easily inside a list. Each message on the other hand could be also a list or a tuple, that contains a name, the text a...
by m_from_space
Wed Apr 17, 2024 5:55 am
Forum: Ren'Py Questions and Announcements
Topic: What does define config.adjust_attributes = { } do?
Replies: 7
Views: 204

Re: What does define config.adjust_attributes = { } do?

That I don't want to keep on writing "if" statements every time the main character changes an item of clothing, as there will be a lot more clothing. Not sure you understand how layered images work, in general you don't have to use any if-statements. Look at this example: https://www.renp...
by m_from_space
Tue Apr 16, 2024 5:50 am
Forum: Ren'Py Questions and Announcements
Topic: What does define config.adjust_attributes = { } do?
Replies: 7
Views: 204

Re: What does define config.adjust_attributes = { } do?

I'm wondering how to write a python function that automatically changes my characters clothing, without having to write a lengthy set of "if" statements in the layered image. What do you mean by "automatically". You just said you don't want "if" statements, but then yo...