Search found 949 matches

by m_from_space
Mon Apr 15, 2024 8:41 am
Forum: Ren'Py Questions and Announcements
Topic: Is it possible to add an animation when Draggable objects snaps to Droppable?
Replies: 1
Views: 114

Re: Is it possible to add an animation when Draggable objects snaps to Droppable?

image_2024-04-14_163609792.png Basically when one of the ingredients falls into (snaps to center) of the cauldron i want to have a splash animation played over the cauldron. There is a callable you can set when a drag finishes its snapping. So if the snap completes, just show a certain screen, or s...
by m_from_space
Mon Apr 15, 2024 8:21 am
Forum: Ren'Py Questions and Announcements
Topic: Where to find math documentation?
Replies: 1
Views: 109

Re: Where to find math documentation?

Hi everyone, I've been trying to use various math functions for renpy but I'm having trouble finding any documentation for it. I can find python docs for math, but that's not exactly the same as how it's used in renpy. Any clues on where to look? Thanks. What exactly are you referring to when sayin...
by m_from_space
Sat Apr 13, 2024 1:19 pm
Forum: Ren'Py Questions and Announcements
Topic: Making fading popups in a screen [SOLVED]
Replies: 4
Views: 137

Re: Making fading popups in a screen

I want to make popups that quickly show up and disappear, notifying you that you cant do certain actions. Renpy has an internal notification feature you can use. screen myscreen(): textbutton "Click me!" action Notify("You clicked me.") # you can also use it as a python function...
by m_from_space
Thu Apr 11, 2024 6:47 am
Forum: Ren'Py Questions and Announcements
Topic: Make the elements fade in individually?
Replies: 1
Views: 133

Re: Make the elements fade in individually?

My question is, how do I manipulate the individual assets on my main menu screen so that the character images and titles on them fade out, like in many visual novels? I'm not sure what you mean by character images and titles inside the main menu, since by default there are no character images in th...
by m_from_space
Thu Apr 04, 2024 4:16 pm
Forum: Ren'Py Questions and Announcements
Topic: Infinite money glitch when scrolling up
Replies: 4
Views: 195

Re: Infinite money glitch when scrolling up

jeffster wrote: Thu Apr 04, 2024 8:44 am I have no idea what happens if you define them like this:

Code: Select all

init python:
    InventoryChar1 = []
    InventoryChar2 = []
Renpy treats variables defined inside python blocks as constants. It doesn't care about them so to speak.
by m_from_space
Wed Apr 03, 2024 2:14 pm
Forum: Ren'Py Questions and Announcements
Topic: Download error: network error
Replies: 1
Views: 135

Re: Download error: network error

VirtualPassion wrote: Wed Apr 03, 2024 7:38 am OSError: Download error: network error ('images/092day055-1.jpg' > '//game/images/092day055-1.jpg')
Renpy was unable to download an image file due to some network error. What is it you don't understand?

Solution: make sure to have a proper connection all the time.
by m_from_space
Sun Mar 31, 2024 3:36 pm
Forum: Ren'Py Questions and Announcements
Topic: KeyError: 'retain' when calling say with name argument
Replies: 4
Views: 161

Re: KeyError: 'retain' when calling say with name argument

Hi, I have a ADV Character that I use for multiple characters. I just replace the name with the actual character. Now I have the following code: default character.sgirl = Character( "School Girl", who_color = "#8a2be2", what_color = "#ffffff", what_size = 28, ) I'm act...
by m_from_space
Sat Mar 30, 2024 9:08 am
Forum: Ren'Py Questions and Announcements
Topic: Certain configuration variables not working
Replies: 4
Views: 250

Re: Certain configuration variables not working

... but as for after_load_transition, that's exactly how I have it written, and it still dumps me very abruptly and unceremoniously into loaded saves, no transition or anything... I'm not sure why. Make sure there is not a second entry of this config variable, overwriting your own statement. There ...
by m_from_space
Fri Mar 29, 2024 6:23 am
Forum: Ren'Py Questions and Announcements
Topic: Certain configuration variables not working
Replies: 4
Views: 250

Re: Certain configuration variables not working

I can't get config.after_load_transition = fade or $ _game_menu_screen = None to work. It seems like Ren'Py just ignores these completely. I get no transition when loading a save, and it still shows the save menu when right clicking in game. Am I using these wrong? What gives? Here is how you have ...
by m_from_space
Fri Mar 29, 2024 6:18 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved?] Can't stop errant sound playing after a save load
Replies: 12
Views: 319

Re: Can't stop errant sound playing after a save load

In my case, as you can see from my code snippet the sound had been long finished by the time the save occurs (at the end of the game, several statements and seconds after the sound was played). The suggestion from @jeffster seemed to work, at least for now. Your code snippet shows that after playin...
by m_from_space
Wed Mar 27, 2024 4:36 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved?] Can't stop errant sound playing after a save load
Replies: 12
Views: 319

Re: Can't stop errant sound playing after a save load

As far as checkpoints go, the save file loads to the proper screen. Maybe I need to try manually setting a checkpoint at the save point? I would have assumed that Ren'Py already does that... So here is an example for a sound that would play after loading: label start: "Welcome!" play soun...
by m_from_space
Wed Mar 27, 2024 4:27 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved?] Can't stop errant sound playing after a save load
Replies: 12
Views: 319

Re: Can't stop errant sound playing after a save load

There... is? https://www.renpy.org/doc/html/audio.html#renpy.music.stop Oh, you don't say. :o There's nothing unusual about the code in question: ... scene black with {"master": Fade(clfDly,0.,0.)} $ fSay(character.e, ch1fadestr("Noooooooooo . . .")) pause clfDly play sound gasp...
by m_from_space
Tue Mar 26, 2024 3:24 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved?] Can't stop errant sound playing after a save load
Replies: 12
Views: 319

Re: Can't stop errant sound playing after a save load

I'm a bit baffled by this one. I go to load a save file, and the last sound that was played before the save suddenly triggers. The sound is not looped and was completed long before the game was saved. Renpy will rollback to the last checkpoint and redo certain stuff, that occured beginning with thi...
by m_from_space
Mon Mar 25, 2024 4:05 pm
Forum: Ren'Py Questions and Announcements
Topic: How to clear Speech bubbles with retain=True?
Replies: 5
Views: 165

Re: How to clear Speech bubbles with retain=True?

??? When I run the game, there is no (clear retained bubbles). That's just a button in the speech bubble editor. I am talking about the speech bubbles when they are actually display in the game not in the editor. Yes I know what you are asking for. :) So with the speech bubble editor you determine ...
by m_from_space
Mon Mar 25, 2024 2:59 pm
Forum: Ren'Py Questions and Announcements
Topic: How to clear Speech bubbles with retain=True?
Replies: 5
Views: 165

Re: How to clear Speech bubbles with retain=True?

felsenstern wrote: Mon Mar 25, 2024 2:46 pm but how can I get rid of it, once the scene is over?
https://www.renpy.org/dev-doc/html/bubb ... ed-bubbles
In the bubble editor, pressing the "(clear retained bubbles)" button will remove all of the retained bubbles from the screen, except for the most recent.