Search found 399 matches
- Sat Feb 19, 2022 2:32 am
- Forum: Ren'Py Questions and Announcements
- Topic: Renpy random, but for multiple items/numbers? [SOLVED]
- Replies: 2
- Views: 311
Re: Renpy random, but for multiple items/numbers?
init python: from random import sample label start: "Start" $ randfruit = sample(['apple', 'orange', 'plum'], 2) if 'apple' in randfruit: show image1 at left if 'orange' in randfruit: show image2 at center if 'plum' in randfruit: show image3 at right Or.. (if you need a tie-in to a Ren'py's preserv...
- Sun Jun 13, 2021 6:22 am
- Forum: Ren'Py Questions and Announcements
- Topic: Ren'Py 7.4.4 Released
- Replies: 7
- Views: 8960
Re: Ren'Py 7.4.4 Released
But in the Ren'Py Launcher (russian localization) suddenly translated the name of sound 's folder.. Anyway, if anyone else is also annoyed by this.. :arrow: - open file: renpy/launcher/game/tl/ [your_language] /launcher.rpy (This is true of any language); :arrow: - find and remove (or comment by #)...
- Sun Jun 13, 2021 5:35 am
- Forum: Ren'Py Questions and Announcements
- Topic: [error] Not a displayable: 9.9966 (is anim.blink timer works in screen() ?)
- Replies: 2
- Views: 588
Re: [error] Not a displayable: 9.9966 (is anim.blink timer works in screen() ?)
(init) transform newblink: .5 linear .5 alpha .0 .5 linear .5 alpha 1.0 repeat (in timer) elif time_remaining > 5: text str(time_remaining) align(0.5, 0.10) color "#eb6e08" size 70 at newblink else: text str(time_remaining) align(0.5, 0.10) color "#f00" size 70 at newblink https://www.renpy.org/doc/...
- Fri May 14, 2021 4:56 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Passwords hidden as Asterisks in renpy?
- Replies: 5
- Views: 1087
Re: Passwords hidden as Asterisks in renpy?
I've added support for this to Ren'Py. It'll show up in tomorrow's nightly and the next 7.4.5 release. Thank you so much for this ! Personally, I dislike being unable to check that I've typed the password correctly, will you include a way for the player to disable or temporarily hide the mask so th...
- Sun May 02, 2021 3:45 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Unexpected EOF While Parsing [solved]
- Replies: 6
- Views: 873
Re: Unexpected EOF While Parsing [solved]
So then what does this mean? It was working, but now is not. Nothing had changed with this part of the coding since the last successful playthrough. File "game/script.rpy", line 11, in script call call hotel_01_scene File "game/scripts/locations/hotel/hotel_01.rpy", line 34, in script z "Hi. You lo...
- Sun May 02, 2021 3:27 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Volume clause on play not valid?
- Replies: 2
- Views: 674
Re: Volume clause on play not valid?
I tried different numbers from 0 to 2 and none work. Anyone knows why that is? Your code is correct (1.0 is max). I assume you are using an old version of the launcher. This feature was added relatively recently.. https://www.renpy.org/doc/html/changelog.html#miscellaneous It is now possible to spe...
- Fri Apr 16, 2021 9:02 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to slowly fade image in over the course of a scene?
- Replies: 2
- Views: 241
Re: How to slowly fade image in over the course of a scene?
https://www.renpy.org/doc/html/atl.html
Code: Select all
image lucy = 'somesprite.png'
transform intro:
align(.5,1.0) # position of image
alpha .0
easein 10 alpha 1.0 # 10 (sec) is time of opaque
label start:
show lucy at intro
'some text'
'....'- Mon Apr 12, 2021 5:06 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED ]How to translate a save game date correctly?
- Replies: 4
- Views: 536
Re: How to translate a save game date correctly?
Am I missing something? Should I translate these parameters in some other file? Yes. I'm going to guess, that the solution of your problem not here. Open the file screens.rpy ([yourproject]/game/tl/russian/screens.rpy) Find the line: old "{#file_time}%A, %B %d %Y, %H:%M" new "" and replace new "{#f...
- Wed Apr 07, 2021 2:14 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Counting the length of a character name
- Replies: 6
- Views: 445
Re: Counting the length of a character name
I've tried using len(who) but that only works for lists so it doesn't even run Nope. This method works for string type of data. label start: 'test' python: a = 'hello word' b = len(a) '[a] [b]' return And structure in the screen say (): if len(who)<=....bla bla must be work. I guess the problem is ...
- Wed Apr 07, 2021 1:28 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Ren'Py 7.4.4 Released
- Replies: 7
- Views: 8960
Re: Ren'Py 7.4.4 Released
This is probably not important...
But in the Ren'Py Launcher (russian localization) suddenly translated the name of sound's folder..

But in the Ren'Py Launcher (russian localization) suddenly translated the name of sound's folder..

- Thu Aug 13, 2020 9:21 am
- Forum: Ren'Py Questions and Announcements
- Topic: Create two splash screens
- Replies: 6
- Views: 584
Re: Create two splash screens
My code : # The "splashscreen" label automatically plays before the main menu. label splashscreen : scene black_screen show splashscreen1 with dissolve pause 12.0 hide splashscreen1 with dissolve show splashscreen2 with dissolve pause 6.0 hide splashscreen2 with dissolve return Expected result : Wh...
- Thu Aug 13, 2020 3:59 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Define Images After Initialization?
- Replies: 2
- Views: 259
Re: Define Images After Initialization?
Code: Select all
default morgan = 0
image mcav = "mc/[morgan]av.png"
label start:
"Choose your appearance!"
call screen character_select
$ morgan = _return- Thu Aug 06, 2020 9:36 am
- Forum: Ren'Py Questions and Announcements
- Topic: Is there a simpler way to make multiple choices in a row?
- Replies: 2
- Views: 321
Re: Is there a simpler way to make multiple choices in a row?
Are you looking for a simpler solution or a more optimized one? I suppose your code is simple enough and does not require simplification. There is a golden rule, if the code works, it's better not to touch it. If it's about optimization. Then yes, there are ways. For example, a menu statement alread...
- Thu Aug 06, 2020 9:13 am
- Forum: Ren'Py Questions and Announcements
- Topic: solved - Fourth variable not setting
- Replies: 2
- Views: 190
Re: Fourth variable not setting
It's not quite clear, but..
if 'forest' is a value of another variable, for example, choice_0, it should be:
if 'forest' ('waterfall' / 'castle' / 'caves' ) is variable, it should be unquoted:Code: Select all
if 'forest' == 1:
Code: Select all
if forest == 1:Code: Select all
if choice_0 == 'forest':- Tue Aug 04, 2020 8:04 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Pause movie on last frame?
- Replies: 3
- Views: 267
Re: Pause movie on last frame?
The video's playback system in renpy is not as advanced, unfortunately. So image only, yet. (Anyway, it's easier to do than trying to rewrite a standard code). Another idea that comes to mind: use the animation at the end of the video, i.e. several interchangeable images to smooth the overall impres...