Search found 33 matches

by Vodka
Fri Apr 26, 2019 12:27 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Option to disable side sprites?
Replies: 8
Views: 233

Re: Option to disable side sprites?

Turns out it was as easy as making the variable persistent.side_image and changing the option's action to ToggleVariable

Marking this solved!
by Vodka
Thu Apr 25, 2019 1:40 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Option to disable side sprites?
Replies: 8
Views: 233

Re: Option to disable side sprites?

Okay, finally had some time to work on this and I got it. In the Say screen: screen say(who, what, side_image=side_image, two_window=False) ... if side_image == True: add SideImage() xalign 0.04 yalign 1.15 This means the side image is only displayed if the variable is True. And then in the script, ...
by Vodka
Mon Apr 22, 2019 1:35 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Option to disable side sprites?
Replies: 8
Views: 233

Re: Option to disable side sprites?

The issue seemed a lot easier at first glance for me. Going back to my original strategy: would it be possible to make image declarations dependent on a global variable? I could set a variable for side sprites in the main script, and then have conditional loading of images (or declaration of charact...
by Vodka
Thu Apr 18, 2019 10:43 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Option to disable side sprites?
Replies: 8
Views: 233

Re: Option to disable side sprites?

Double posting to share this: define e = Character("Eileen", image="eileen") init python: config.side_image_tag = "eileen" which i got from https://www.renpy.org/doc/html/side_image.html If I'm reading this right, I should be able to define a python variable to associate with the side images. Howeve...
by Vodka
Wed Apr 17, 2019 10:21 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Option to disable side sprites?
Replies: 8
Views: 233

Re: Option to disable side sprites?

What about this is incorrect? say screen: screen say(who, what, side_image=None, two_window=False): ... default say code $ side_image = SideImage() add side_image xalign 0.04 yalign 1.15 and then in the preferences menu: hotspot (980,418,365,40) action ToggleScreenVariable("side_image") It's giving ...
by Vodka
Tue Apr 16, 2019 11:55 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Option to disable side sprites?
Replies: 8
Views: 233

Re: Option to disable side sprites?

I'll give that a shot, thank you.
by Vodka
Tue Apr 16, 2019 10:39 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Option to disable side sprites?
Replies: 8
Views: 233

[Solved]Option to disable side sprites?

How would someone go about adding a 'disable side spite' option to their game?

I'm thinking a toggle button that changes a boolean variable True/False, but how would I check against that variable?
by Vodka
Wed May 24, 2017 12:30 am
Forum: Ren'Py Questions and Announcements
Topic: Is self-voicing broken for anyone else in latest Renpy?
Replies: 2
Views: 419

Re: Is self-voicing broken for anyone else in latest Renpy?

Looks like the other guy managed to find a workaround before I could. But he says he's having problems with all recent renpy releases. I assume it has something to do with me and him both running windows 7 x64 with 32bit sapi voice? Hmmm sorry for late reply I was at lunch but its broken confirming ...
by Vodka
Tue May 23, 2017 6:08 pm
Forum: Ren'Py Questions and Announcements
Topic: Is self-voicing broken for anyone else in latest Renpy?
Replies: 2
Views: 419

Is self-voicing broken for anyone else in latest Renpy?

I'm running 6.99.12.14.2187 I'm experiencing a lot of problems with Renpy's self-voicing in this patch. Not just in my game, but in the tutorial and 'the question' as well. I was not experiencing these issues before, and haven't made any changes to my script or personal computer that would explain t...
by Vodka
Wed May 17, 2017 4:10 pm
Forum: Ren'Py Questions and Announcements
Topic: Text misaligning in say box when there is 1 or 2 lines
Replies: 2
Views: 215

Re: Text misaligning in say box when there is 1 or 2 lines

Yep, found it: line_leading style.default.line_leading = 12 The above code fixes the problem, I'm not sure if I'm the only one that was having it. 12 seems to be the default value for the variable, but I'm not sure why it wasn't 'sticking' until I set it myself. I'll leave this thread open in case a...
by Vodka
Wed May 17, 2017 7:46 am
Forum: Ren'Py Questions and Announcements
Topic: Text misaligning in say box when there is 1 or 2 lines
Replies: 2
Views: 215

Re: Text misaligning in say box when there is 1 or 2 lines

Looking through the renpy stuff, it seems there is some property for padding between lines of text, which seems to be the only thing that could be causing this. What I believe is happening right now: - There is some property for text that 'pads' above a line - The pad for line 1 is either 0 or some ...
by Vodka
Wed May 17, 2017 7:13 am
Forum: Ren'Py Questions and Announcements
Topic: Text misaligning in say box when there is 1 or 2 lines
Replies: 2
Views: 215

Text misaligning in say box when there is 1 or 2 lines

I have noticed that the text in my textbox seems to shift up/down one pixel depending on whether a panel of dialogue is 1 or 2 lines. It's not a major issue, but is a little annoying. I am using a custom textbox for the say window, by the way. Is there some text specific variable that can fix this? ...
by Vodka
Sun Aug 30, 2015 5:08 pm
Forum: Ren'Py Questions and Announcements
Topic: Intro and Main Loop for looping music isn't working
Replies: 1
Views: 244

Intro and Main Loop for looping music isn't working

$ renpy.music.play(["music/intro.mp3","music/main.mp3"], channel='music', loop=True, fadein=0.5, synchro_start=False, fadeout=4.0, tight=True, if_changed=True) Does anyone know why I can still hear a skip between the intro and main .mp3 when doing this? I wanted a seamless transition, which is what ...
by Vodka
Sun Apr 26, 2015 4:56 pm
Forum: Ren'Py Questions and Announcements
Topic: Empty window default broken?
Replies: 2
Views: 362

Empty window default broken?

I'm trying to place config.default_show_empty_window = True in my configs to get the say screen to stay during choices but it's not working.

I've tried deleting persistent files, putting it on -1 or -2 init, etc but it always disappears during menus. Can someone test this configurable in their game?
by Vodka
Wed Mar 18, 2015 8:31 pm
Forum: Ren'Py Questions and Announcements
Topic: No Default Keybind of Auto-Read?
Replies: 2
Views: 638

Re: No Default Keybind of Auto-Read?

Putting it in the say screen seems suitable, thank you.