Search found 324 matches

by IrinaLazareva
Sun Mar 31, 2019 2:02 pm
Forum: Ren'Py Questions and Announcements
Topic: Ren'Py OS 19.04.01 - Released
Replies: 13
Views: 1083

Re: Ren'Py OS 19.04.01 - Coming Soon

Ooo. That's great news! I'm gonna have to remove MS DOS-2019 from my PC. I hope it's worth it. 8)
by IrinaLazareva
Sat Mar 30, 2019 9:25 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How do I animate the "background" on the main menu?
Replies: 2
Views: 90

Re: How do I animate the "background" on the main menu?

~88th line of the gui.rpy:

Code: Select all

## The images used for the main and game menus.
define gui.main_menu_background = 'main_menu_animated'
by IrinaLazareva
Sat Mar 30, 2019 9:17 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] (workaround) How to play a sound on "notify" ?
Replies: 3
Views: 85

Re: [Solved] (workaround) How to play a sound on "notify" ?

also you can use:

Code: Select all

on "show" action Play("music", "Gallery.mp3")
instead of
on 'replace'
by IrinaLazareva
Sun Mar 17, 2019 11:58 am
Forum: Ren'Py Questions and Announcements
Topic: Animated buttons
Replies: 5
Views: 146

Re: Animated buttons

transform buma(tim, ang): pos(.5, .2) anchor (0.5, 0.85) rotate 0 linear tim rotate ang repeat screen button_double: fixed: imagebutton idle 'your_image_base.png' pos(.5, .2) anchor (0.5, 0.85) action Notify('Test !') imagebutton idle 'your_image_1.png' action Notify('Test !') at buma(.9, -360) ima...
by IrinaLazareva
Sun Mar 17, 2019 11:37 am
Forum: Ren'Py Questions and Announcements
Topic: Animated buttons
Replies: 5
Views: 146

Re: Animated buttons

And you can also make five buttons with one image instead of one button with five images. Then combine it with the screen. It sounds crazy, but it's easy to do.
by IrinaLazareva
Sun Mar 17, 2019 9:35 am
Forum: Ren'Py Questions and Announcements
Topic: Is it possible to "lock" a choice?
Replies: 1
Views: 107

Re: Is it possible to "lock" a choice?

use persistent data and if-clause ...and disabled buttons (optional): define config.menu_include_disabled = True #(optional) #<.....> label nevermind: 'Bla' menu: "I trust Kinda" if persistent.akind and persistent.bkind: jump ktp "Kinda es my best friend": $ persistent.akind = True jump kfp2 "someth...
by IrinaLazareva
Sun Mar 17, 2019 9:12 am
Forum: Ren'Py Questions and Announcements
Topic: "main_menu.png" -> "main_menu.mp4"
Replies: 4
Views: 102

Re: "main_menu.png" -> "main_menu.mp4"

There are many options for implementing the problem (beautiful and not so much; productive and not so much; simple and not so much....). However, easy way is: To replace main_menu image with a "main_menu video", you need to find a line (gui.rpy file) define gui.main_menu_background = "gui/main_menu....
by IrinaLazareva
Sun Mar 17, 2019 6:26 am
Forum: Ren'Py Questions and Announcements
Topic: "Fade() takes at least 3 arguments (3 given)": weird issue
Replies: 1
Views: 80

Re: "Fade() takes at least 3 arguments (3 given)": weird issue

inima wrote:
Sun Mar 17, 2019 1:28 am
It was set by default(?)
Nope, default is:

Code: Select all

## A transition that is used after a game has been loaded.
define config.after_load_transition = None
by IrinaLazareva
Sat Mar 16, 2019 3:29 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Snow effect not working?
Replies: 7
Views: 156

Re: Snow effect not working?

It's working properly. As long as Renpy uses the python 2.7 this code can't get out of date.
Are you sure you've placed all 187 lines of the code?
by IrinaLazareva
Sat Mar 09, 2019 4:07 pm
Forum: Ren'Py Questions and Announcements
Topic: Music Position
Replies: 7
Views: 163

Re: Music Position

Is it possible to get the currently elapsed time into a track? For example, if the game is 45 seconds into the track, retrieve that information? I'm trying to use it in order to pause the music, play another short track, then resume the previous music where it left off. (An example of very similar ...
by IrinaLazareva
Fri Mar 01, 2019 1:06 pm
Forum: Ren'Py Questions and Announcements
Topic: Splash Screen Not Working
Replies: 10
Views: 182

Re: Splash Screen Not Working

Maybe that's not the reason, but....try to avoid a space sign in the path to the file.
wellsgrant wrote:
Thu Feb 28, 2019 7:44 pm

Code: Select all

image logo = "Splash Screens/Logo.png"
                    ^
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: 126

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

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

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"