Search found 312 matches

by IrinaLazareva
Sat Feb 09, 2019 9:12 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] renpy.input: Display a character's name, to simulate dialogue?
Replies: 6
Views: 110

Re: renpy.input: Display a character's name, to simulate dialogue?

default whoinput = None transform blink_tr(): alpha 1.5 linear 1.1 alpha 0.3 linear 1.1 alpha 1.0 repeat screen input(prompt, who=whoinput): style_prefix "input" window: if who is not None: window: style "namebox" text who size gui.name_text_size vbox: xalign gui.dialogue_text_xalign xpos gui.dialo...
by IrinaLazareva
Sat Feb 09, 2019 8:24 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] renpy.input: Display a character's name, to simulate dialogue?
Replies: 6
Views: 110

Re: renpy.input: Display a character's name, to simulate dialogue?

another option: rewrite the input () screen: default whoinput = None screen input(prompt, who=whoinput): style_prefix "input" window: ####<< if who is not None: window: style "namebox" text who size gui.name_text_size ####<< vbox: xalign gui.dialogue_text_xalign xpos gui.dialogue_xpos xsize gui.dial...
by IrinaLazareva
Tue Feb 05, 2019 2:57 pm
Forum: Ren'Py Questions and Announcements
Topic: how to show words when hover on an imagebutton
Replies: 11
Views: 176

Re: how to show words when hover on an imagebutton

The button must have action(). If you don't need an action, use:

Code: Select all

action NullAction()
i.e. for the first method:

Code: Select all

    imagebutton:
        idle "SmartSelect_20190102-003134_Samsung Notes - Copy.jpg"
        xpos 0.04
        ypos 0.25
        action NullAction()
        tooltip "Nobel"
by IrinaLazareva
Tue Feb 05, 2019 1:20 pm
Forum: Ren'Py Questions and Announcements
Topic: Recovering Lost File (Please Help)
Replies: 4
Views: 120

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: 120

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: 3
Views: 73

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: 130

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: 64

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: 101

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: 102

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: 12
Views: 852

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: 98

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: 141

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: 115

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: 148

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...