Search found 974 matches

by m_from_space
Tue Apr 23, 2024 3:24 am
Forum: Ren'Py Questions and Announcements
Topic: Using JSON for optimization?
Replies: 3
Views: 105

Re: Using JSON for optimization?

There really is a lot of data that I need stored, to the level that having all of it at memory all of the time feels less than ideal, even if I haven't noticed any slowdowns. Still wondering what kind of data we are talking about and how memory this data takes up right now. For a mobile variant, hu...
by m_from_space
Mon Apr 22, 2024 7:34 am
Forum: Ren'Py Questions and Announcements
Topic: ATL Transformation VS Image Statement (ATL Block) VS Movie
Replies: 1
Views: 123

Re: ATL Transformation VS Image Statement (ATL Block) VS Movie

Anyone knows where can I read more about Ren'Py resources usage? Or if anyone could point me into how I could measure it myself that would be awesome. Hitting F4 when inside your game gives you a little bit of information regarding memory usage of textures. Whatever you mean by measuring usage, you...
by m_from_space
Mon Apr 22, 2024 7:24 am
Forum: Ren'Py Questions and Announcements
Topic: renpy.music.get_duration() cannot return duration of some BGM
Replies: 2
Views: 121

Re: renpy.music.get_duration() cannot return duration of some BGM

Li yuanlin wrote: Mon Apr 22, 2024 5:41 am anyone here?
renpy.music.get_duration()

"Returns 0.0 if no file is playing on channel, or the duration is unknown. Some formats - notably MP3 - do not include duration information in a format Ren'Py can access."
by m_from_space
Mon Apr 22, 2024 5:36 am
Forum: Ren'Py Questions and Announcements
Topic: Character Creator Crashing
Replies: 2
Views: 118

Re: Character Creator Crashing

Hello. I recently got into RenPy and started working on a visual novel. I'm working on a character creator where you will choose colors to define other body parts. By that, I mean selecting a "blond" hair color and having the hair and eyelashes match. The option buttons for the eyes or ha...
by m_from_space
Mon Apr 22, 2024 5:22 am
Forum: Ren'Py Questions and Announcements
Topic: Using JSON for optimization?
Replies: 3
Views: 105

Re: Using JSON for optimization?

I already know how to do this, so I don't really need advice on implementing it, I'm just wondering if it's necessary. Because doing this would require a lot of work reorganizing my data structures and the references to them, and I don't want to do it if it turns out my worries about memory are ove...
by m_from_space
Sun Apr 21, 2024 11:48 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] if/else in imagebuttons
Replies: 2
Views: 120

Re: if/else in imagebuttons

I would like to write a series of buttons that must be pressed in a certain order, but the second and subsequent buttons do not always accept the variable changed when the first button is clicked, although the clicks are processed. How could this be fixed or implemented in a different form? There a...
by m_from_space
Sat Apr 20, 2024 6:48 pm
Forum: Ren'Py Questions and Announcements
Topic: Is it possible for the renpy.input dialogue to be said by a character and not the narrator?
Replies: 12
Views: 1672

Re: Is it possible for the renpy.input dialogue to be said by a character and not the narrator?

Edited: oh, one more question: with this code, will I be able to set things like input length, allowed characters and so on? Yes, Renpy handles all of this as part of the renpy.input() function, so you can just pass the usual keyword arguments like "length", "exclude", "mas...
by m_from_space
Sat Apr 20, 2024 6:41 pm
Forum: Ren'Py Questions and Announcements
Topic: Is it possible for the renpy.input dialogue to be said by a character and not the narrator?
Replies: 12
Views: 1672

Re: Is it possible for the renpy.input dialogue to be said by a character and not the narrator?

Edited: oh, one more question: with this code, will I be able to set things like input length, allowed characters and so on? Yes, Renpy handles all of this as part of the renpy.input() function, so you can just pass the usual keyword arguments like "length", "exclude", "mas...
by m_from_space
Sat Apr 20, 2024 6:37 pm
Forum: Ren'Py Questions and Announcements
Topic: Unable to select project directory
Replies: 6
Views: 222

Re: Unable to select project directory

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 How do I insert the directory though? General -> Projects Directory is where I was when the e...
by m_from_space
Sat Apr 20, 2024 6:25 pm
Forum: Ren'Py Questions and Announcements
Topic: Is it possible for the renpy.input dialogue to be said by a character and not the narrator?
Replies: 12
Views: 1672

Re: Is it possible for the renpy.input dialogue to be said by a character and not the narrator?

Also interested since bublé came up.... I should check out the info on this... Have you found a solution yet? I would really like to know! Normally, the "input" screen is doing the work here. You can find it inside <screens.rpy>. So depending on what you want, you either change that scree...
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: 198

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: 170

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: 6
Views: 222

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: 233

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: 179

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...