Search found 237 matches

by Saltome
Thu Apr 06, 2017 7:32 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] action PauseAudio with fadeout/fadein?
Replies: 7
Views: 2116

Re: [SOLVED] action PauseAudio with fadeout/fadein?

Oh, snap. I was too slow. And here I was so giddy with my success. Hey man I made my own solution for your problem. Of course, credit for the idea goes to Ocelot. I just patched together a few code snippets. You are free to use it if you want... Code: default pauseddict = {} init python: def _insert...
by Saltome
Thu Apr 06, 2017 6:16 pm
Forum: Ren'Py Questions and Announcements
Topic: RevertableDict not ...reverting?
Replies: 0
Views: 355

RevertableDict not ...reverting?

Hey guys, I was poking at making it possible to fadeout the music when pausing. For this thread: https://lemmasoft.renai.us/forums/viewtopic.php?f=8&t=43406 And then I noticed that for some reason the dict doesn't revert when I rollback. Eventually I changed it to a list and worked just fine. As it ...
by Saltome
Thu Apr 06, 2017 1:47 pm
Forum: Ren'Py Questions and Announcements
Topic: Problem with Renpy not correctly fetching stored variables?
Replies: 11
Views: 1927

Re: Problem with Renpy not correctly fetching stored variabl

Hmm, that did cross my mind. shoulda tried it. I wonder why it was missing in the first place, though. And why does the bug occur so rarely. I verified it too. E, you guys can fix it yourselves by changing \renpy-6.99.12-sdk\renpy\common\00action_data.rpy line 37 Keep in mind that changes in the cor...
by Saltome
Thu Apr 06, 2017 6:39 am
Forum: Ren'Py Questions and Announcements
Topic: Problem with Renpy not correctly fetching stored variables?
Replies: 11
Views: 1927

Re: Problem with Renpy not correctly fetching stored variabl

Hmm, let's see... It appears to be a unicode string. I don't think that's the variable to look at though. The value is set properly. The erroneous variable is the one that indicates the field. That's this_period.var But that is also an unicode string. At least at a cursory glance, it doesn't appear ...
by Saltome
Wed Apr 05, 2017 3:23 pm
Forum: Ren'Py Questions and Announcements
Topic: Problem with Renpy not correctly fetching stored variables?
Replies: 11
Views: 1927

Re: Problem with Renpy not correctly fetching stored variabl

Well I've been here for hours, and I can finally say I have something worth sharing. >_> Just to be clear, the bug is very specific, but recurring. It causes the SetField action to put the value in the wrong variable. Furthermore, Some actions, like Notify can also cancel out the bug. And it's very ...
by Saltome
Tue Apr 04, 2017 2:21 pm
Forum: Ren'Py Questions and Announcements
Topic: Is it possible to make a Ren'py game "Online"?
Replies: 5
Views: 3142

Re: Is it possible to make a Ren'py game "Online"?

Well, renpy does support both multithreading, and sockets. Encryption too, I think. So yes, it should be possible.
But unless you are making a visual novel mmo(Which is still an unfulfilled niche.), you might wanna pick a more specialized approach.
by Saltome
Sat Apr 01, 2017 11:35 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Say window ATL and side images
Replies: 23
Views: 1847

Re: [SOLVED] Say window ATL and side images

And about your other problem... As per the example of this thread: https://lemmasoft.renai.us/forums/viewtopic.php?f=8&t=43083 transform anim: on show: linear 0 yoffset 0 linear 0.1 yoffset 10 linear 0.1 yoffset 0 linear 0.1 yoffset -10 linear 0.1 yoffset 0 repeat(3) screen say(who, what, side_image...
by Saltome
Sat Apr 01, 2017 10:35 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Say window ATL and side images
Replies: 23
Views: 1847

Re: Say window ATL and side images

*facepalm* The problem was happening because the side image was inside the window, that was bugging it out. With a little fiddling I seem to have tricked it. screen say(who, what, side_image=None, two_window=False): if side_image: window: id "window" null #has vbox: #style "say_vbox" add side_image ...
by Saltome
Sat Apr 01, 2017 9:28 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Say window ATL and side images
Replies: 23
Views: 1847

Re: Say window ATL and side images

I was talking about the code before. The one showing the side image underneath the background. And matter-of-factly, you can simply make the side image semi-transparent, to allow text to be visible through. As far as zorder, that's only applied to screens. But even if you were able to figure out a w...
by Saltome
Sat Apr 01, 2017 9:07 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Say window ATL and side images
Replies: 23
Views: 1847

Re: Say window ATL and side images

If you ask me you should just go with my original snippet. It wasn't ideal, but at least it didn't bug out. I think it's an okay compromise.
by Saltome
Sat Apr 01, 2017 6:39 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Say window ATL and side images
Replies: 23
Views: 1847

Re: Say window ATL and side images

Welcome to renpy... Changing yalign to ypos should make sure the text doesn't change position when there are multiple lines. As far as style properties go, I've never used any myself. But it's possible I broke them when I commented out these lines. #style "say_vbox" I assume that's the code that han...
by Saltome
Sat Apr 01, 2017 5:26 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Say window ATL and side images
Replies: 23
Views: 1847

Re: Say window ATL and side images

You are correct. Having multiple lines does change the position.
Then in the say screen, change the yalign properties to ypos, then set their values to a good position.

Just leave those two lines as they are.

Code: Select all

add SideImage() xalign 0.0 yalign 1.0 
by Saltome
Sat Apr 01, 2017 4:43 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Say window ATL and side images
Replies: 23
Views: 1847

Re: Say window ATL and side images

Hmm, in random places? How about you show me a screenshot? It works perfectly fine for me.
by Saltome
Sat Apr 01, 2017 4:20 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Say window ATL and side images
Replies: 23
Views: 1847

Re: Say window ATL and side images

Here you go... This should work. Even though I'm honestly disgusted with myself, for taking such a convoluted roundabout way to achieving the goal... So if anyone has any better ideas please do. To make it work I made it so, when there is a side image it creates it's own window, and the part that sh...
by Saltome
Mon Mar 20, 2017 5:00 pm
Forum: Ren'Py Questions and Announcements
Topic: IndexError: list index out of range and infinite looping
Replies: 22
Views: 3129

Re: IndexError: list index out of range and infinite looping

I think you need to change the way your system works. This isn't really a bug, there are multiple issues in the design itself. Your conditional branches and loops keep interfering with each other. storyline_starters keeps looping infinitely whenever a story is completed. Due to the condition branch...