Search found 96 matches

by Yuuji
Wed Jan 21, 2015 9:30 am
Forum: Ren'Py Questions and Announcements
Topic: Sliders and bindings
Replies: 7
Views: 2129

Re: Sliders and bindings

Thank you for your answer! But it doesn't seem to work... I can post my code, maybe you can give me a hint, where I've mistaken? That's the code in script.rpy(registering bgm channel): init: $renpy.music.register_channel('bgm', loop = True, file_prefix = 'bgm/bgm', file_suffix = '.ogg') Now, title s...
by Yuuji
Wed Jan 21, 2015 4:37 am
Forum: Ren'Py Questions and Announcements
Topic: Overlay Yes/No Prompt when leaving the game
Replies: 13
Views: 2230

Re: Overlay Yes/No Prompt when leaving the game

But what should I do if I want previous background to stay without changes? Yes/no prompt should appear in front of all layers, right?(modal True) Why this screen clears all layers behind it in case of "red x" click?
by Yuuji
Wed Jan 21, 2015 4:28 am
Forum: Ren'Py Questions and Announcements
Topic: Sliders and bindings
Replies: 7
Views: 2129

Sliders and bindings

Hello! I've got a problem again. :( I'm trying to understand how can I bind slider value to persistent variable or channel volume. For now my code for bar is: bar xpos 360 ypos 79 value MixerValue('bgm') style "pref_slider" left_gutter 0 right_gutter 0 style pref_slider: xmaximum 118 ymaximum 28 rig...
by Yuuji
Tue Jan 20, 2015 9:03 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Preferences menu button reload
Replies: 1
Views: 440

Re: Preferences menu button reload

I got an answer for my question myself. I just added "renpy.restart_interaction()" to BGMAction and now it works fine. Sorry for my silly question.
by Yuuji
Tue Jan 20, 2015 3:42 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Preferences menu button reload
Replies: 1
Views: 440

[SOLVED]Preferences menu button reload

Hello! In preferences screen of my game there're 2 buttons: 'on' and 'off' for BGM playing. I've seen the screen example for it(with action Preferences(...)) but it's not what I'm looking for. In this example is used some properties predefined in the engine. In my game will be several characters and...