Search found 32 matches

by Saa
Thu May 09, 2019 2:45 pm
Forum: Ren'Py Questions and Announcements
Topic: how can we modify the music volume for each single file?
Replies: 2
Views: 262

Re: how can we modify the music volume for each single file?

Try this, but, as said, it's really, really more advisable to change the volume in sound editing software.
by Saa
Thu May 09, 2019 2:43 pm
Forum: Ren'Py Questions and Announcements
Topic: Table of Contents
Replies: 19
Views: 1484

Re: Table of Contents

Did you define the variable? At the top of your file, put:

Code: Select all

default ch01 = False
And so on for each of your chapters. If that's not it, try changing "if ch01" to "if ch01==True", I've encountered errors sometimes because of this but have no idea why.
by Saa
Thu May 09, 2019 2:40 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]hide textbutton
Replies: 14
Views: 1129

Re: hide textbutton

Add the $ iknowamelia like Matalla said, then for the buttons: screen test_frame(): frame: xpadding 20 ypadding 10 xalign 0.10 yalign 0.08 vbox: text "Characters" null height 10 textbutton "Amelia" action [Hide("amelia01"), Show("amelia01")] sensitive iknowame...
by Saa
Thu May 09, 2019 10:35 am
Forum: Ren'Py Questions and Announcements
Topic: Table of Contents
Replies: 19
Views: 1484

Re: Table of Contents

by Saa
Thu May 09, 2019 9:54 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]hide textbutton
Replies: 14
Views: 1129

Re: hide textbutton

Instead of putting the If on the button's action, put it outside the buttons: screen test_frame(): frame: xpadding 20 ypadding 10 xalign 0.10 yalign 0.08 vbox: text "Characters" null height 10 if renpy.get_screen("amelia01")==True: textbutton "Amelia" action [Hide("...
by Saa
Thu May 09, 2019 9:50 am
Forum: Ren'Py Questions and Announcements
Topic: Text Screens with flexible Speechbubble background?
Replies: 36
Views: 2736

Re: Text Screens with flexible Speechbubble background?

Sorry, I meant to put it in the text what! xpos should have worked to center the text. Borders and padding can also work. You can put it like: align (0,0) xpadding 367 But I'm not sure because I can't really test it. Can you paste your code here, instead of a screenshot? This way I can actually test...
by Saa
Thu May 09, 2019 8:42 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Flagged choices/variables not working as intended/properly
Replies: 4
Views: 489

Re: flagged choices/variables not working as intended/properly

If you need it to go to the "Scott found a (...)" text, don't use the "else", because the game only does what's in the "else" if it didn't meet the conditions for the "if". Instead, just don't have an "else" at all: If you need it to go to the "...
by Saa
Thu May 09, 2019 8:38 am
Forum: Ren'Py Questions and Announcements
Topic: Text Screens with flexible Speechbubble background?
Replies: 36
Views: 2736

Re: Text Screens with flexible Speechbubble background?

Not sure if this works:

Code: Select all

window:
    id "namebox"
    style "namebox"
    xysize(550, 160)
    text_align 0.5
    text who id "who"
Alternatively:

Code: Select all

text who id "who" xpos 0.5
by Saa
Thu May 09, 2019 7:56 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Date/time not progressing?
Replies: 2
Views: 386

Re: Date/time not progressing?

If you didn't change anything in this code, it's possible some other part of your code is affecting it.
by Saa
Thu May 09, 2019 7:51 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Flagged choices/variables not working as intended/properly
Replies: 4
Views: 489

Re: flagged choices/variables not working as intended/properly

Two things: 1 - you forgot the indentation on the ifs and elses of TWC_term_2 and TWC_info_2 2 - you forgot to jump to section2_cont at the end of your if blocks. So it should be like: ## Here is the second threewaychoice. ## Again, represented with an imagemap. menu: "Check Infoboard": ##...
by Saa
Wed May 08, 2019 12:32 pm
Forum: Ren'Py Questions and Announcements
Topic: Multiple Languages
Replies: 1
Views: 653

Re: Multiple Languages

try adding the action ShowMenu("language_chooser") to a new button in your menu.
by Saa
Wed May 08, 2019 10:26 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How to make a history of screens?
Replies: 8
Views: 746

Re: [Solved] How to make a history of screens?

I found the issue! There were three, actually. The first: when clicking outside the phone, I forgot to reset the list. The code was: imagebutton idle "gui/overlay/confirm.png" action [Hide("phone"), Hide("reply"), Hide("profile")] keysym("K_ESCAPE") ...
by Saa
Tue May 07, 2019 6:46 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How to make a history of screens?
Replies: 8
Views: 746

Re: [Not yet solved] How to make a history of screens?

Imperf3kt wrote: Tue May 07, 2019 6:37 pm Try using action Call("screen")
Note the capitalised C
It gives me a ScriptError: could not find label 'reply'.
by Saa
Tue May 07, 2019 6:05 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How to make a history of screens?
Replies: 8
Views: 746

Re: [Not yet solved] How to make a history of screens?

I was talking about the screen code replace any action Show("screen") by: action Function(renpy.call_screen, "screen") It should call the screen, which will pile it. If you exit the screen using "action Return()", it should go back to the previous one. That's pretty mu...