Search found 399 matches

by IrinaLazareva
Tue Feb 05, 2019 1:20 pm
Forum: Ren'Py Questions and Announcements
Topic: Recovering Lost File (Please Help)
Replies: 4
Views: 460

Re: Recovering Lost File (Please Help)

Copy the backup files. Rename it (to script.rpy, options.rpy etc...). Then, before starting the project, press the Force Recompile button in the launcher.

(Or before copying backup files, delete all x.rpyc files manually from game folder of the project)
by IrinaLazareva
Tue Feb 05, 2019 6:43 am
Forum: Ren'Py Questions and Announcements
Topic: Recovering Lost File (Please Help)
Replies: 4
Views: 460

Re: Recovering Lost File (Please Help)

Ren'Py itself creates backups and store it on a folder backups Look it here. Windows %APPDATA%/RenPy/save_directory Mac OS X ~/Library/RenPy/save_directory Linux/Other ~/.renpy/save_directory https://www.renpy.org/doc/html/config.html#commonly-used If you use windows: Press Win+R then write it down:...
by IrinaLazareva
Tue Feb 05, 2019 6:32 am
Forum: Ren'Py Questions and Announcements
Topic: Unexpected EOF While Parsing [solved]
Replies: 6
Views: 876

Re: Unexpected EOF While Parsing

yes_action and no_action are screen actions () not control flow. https://renpy.org/doc/html/screen_actions.html#control-actions so call screen confirm(message="Choosing this option will mean you will not be able to continue exploring. Continue anyway?", yes_action=Jump('alister_fireplace'), no_acti...
by IrinaLazareva
Sun Feb 03, 2019 7:45 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] If Statement Menus, Continuing Game When All If Statements Met
Replies: 2
Views: 412

Re: [SOLVED] If Statement Menus, Continuing Game When All If Statements Met

Looks like the set menu working again in the 7.1.4. That's why I leave an alternative answer to the question (for the descendants :) ). default pwest = [] label start: 'Ok' menu rock: set pwest 'Let is go...' 'to West': 'West... bla bla' '.....' jump rock 'to North': 'North... bla bla' jump rock 'to...
by IrinaLazareva
Sun Feb 03, 2019 7:04 am
Forum: Ren'Py Questions and Announcements
Topic: Pausing/Unpausing music?
Replies: 1
Views: 204

Re: Pausing/Unpausing music?

The search for answers to most questions should begin by reading the documentation (in this case, audio section): https://renpy.org/doc/html/audio.html#renpy.music.set_pause label start: play music 'music.mp3' 'Let\'s hear the song.' 'Ok' $ renpy.music.set_pause(True, 'music') 'Wait a minute. Wait a...
by IrinaLazareva
Sat Feb 02, 2019 9:47 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Point feedback to player
Replies: 2
Views: 321

Re: [SOLVED]Point feedback to player

That's the kind of draft that comes to mind... Bulky in the beginning, but more or less convenient in execution: default nvar1 = False default nvar2 = False default nvar3 = False default nvar4 = False layeredimage truth: if nvar1: "truth_icon_glow.png" else: "truth_icon.png" layeredimage lie: if nva...
by IrinaLazareva
Sat Feb 02, 2019 1:10 am
Forum: Ren'Py Questions and Announcements
Topic: How to loop an array when it ends? Here are my failures...
Replies: 3
Views: 368

Re: How to loop an array when it ends? Here are my failures...

default counter = 0 define myarray = ['A', 'B', 'C'] screen test_array(): imagebutton idle 'button.png' action If(counter<len(myarray)-1, SetVariable('counter', counter+1), SetVariable('counter', 0)) text myarray[counter] https://www.renpy.org/doc/html/screen_actions.html#If In your example, the li...
by IrinaLazareva
Thu Jan 31, 2019 7:01 am
Forum: Ren'Py Questions and Announcements
Topic: Ren'Py @ 15
Replies: 13
Views: 3117

Re: Ren'Py @ 15

My first acquaintance with Ren'Py started with version 6.9.2. (I can't imagine how much time has passed since then...) https://pp.userapi.com/c849220/v849220973/11da2c/fmdqOChSDKg.jpg Thank you so much, Tom, for your hard work. I also thank all those involved in the development and promotion of Ren'...
by IrinaLazareva
Sun Jan 27, 2019 4:56 pm
Forum: Ren'Py Questions and Announcements
Topic: IOError: Couldn't find music file
Replies: 8
Views: 551

Re: IOError: Couldn't find music file

Check the file name.x (right mouse button - > properties).
Maybe a name is actually something like "uncertainty.ogg.ogg"
by IrinaLazareva
Sun Jan 27, 2019 8:16 am
Forum: Ren'Py Questions and Announcements
Topic: Best way to style text conditionally?
Replies: 3
Views: 349

Re: Best way to style text conditionally?

to continue to develop idea https://lemmasoft.renai.us/forums/viewtopic.php?f=8&t=25278#p310660 https://lemmasoft.renai.us/forums/viewtopic.php?f=8&t=38655&p=448822#p448822 default mhelp = False screen choice(items): style_prefix "choice" vbox: for i in items: if "(g)" in i.caption: textbutton i.cap...
by IrinaLazareva
Sat Jan 26, 2019 4:08 pm
Forum: Ren'Py Questions and Announcements
Topic: (solved)how do i make a bar glow while hovered
Replies: 4
Views: 412

Re: how do i make a bar glow while hovered

try to replace

Code: Select all

        bar value FieldValue(persistent,'custom_value',1.0,step=.01)
to

Code: Select all

        bar value FieldValue(persistent,'custom_value',1.0,step=.01) style 'pref_slider'
by IrinaLazareva
Sat Jan 26, 2019 3:39 pm
Forum: Ren'Py Questions and Announcements
Topic: Menu error
Replies: 5
Views: 422

Re: Menu error

So using anything other than four spaces means you are not following indentation previously set out. ...then this code should cause an indentation error: label start: menu: 'one': pass 'two': pass menu: 'three': pass 'four': pass return However, it doesn't happen... The indentation should be done i...
by IrinaLazareva
Sat Jan 26, 2019 10:53 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED].lower() function error
Replies: 11
Views: 696

Re: .lower() function error

try

Code: Select all

label start:
    '?'
    python:
        import os
        user = '%s' % os.environ.get('username')
        user = user.lower()
    '[user]'
    return
by IrinaLazareva
Sat Jan 26, 2019 10:12 am
Forum: Ren'Py Questions and Announcements
Topic: Menu error
Replies: 5
Views: 422

Re: Menu error

Imperf3kt wrote:
Fri Jan 25, 2019 6:20 am
Ren'Py uses four spaces
The number of spaces can be anything (4, 5, 10... or 1). The main thing is to follow the Indentation's rules.
by IrinaLazareva
Mon Jan 21, 2019 2:05 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Code for simply changing the language in Python?
Replies: 2
Views: 362

Re: Code for simply changing the language in Python?

Maybe this function is not applicable at the init stage..so try:

Code: Select all

label splashscreen:
    if not renpy.loadable("spanish.ttf") or not renpy.loadable("spanish.otf"):
       $ renpy.change_language(None)
    return