Search found 7 matches

by vital1970
Tue Sep 20, 2022 2:37 pm
Forum: Ren'Py Cookbook
Topic: Ren'Py tutorials.
Replies: 0
Views: 1467

Ren'Py tutorials.

Tutorials for working with the Ren'Py visual novel engine. Created based on the official Ren'Py documentation. The video has no voiceover, no background music and no code distribution. This is an attempt to understand and supplement the documentation with examples, in the form of video tutorials. ht...
by vital1970
Wed Jun 22, 2022 3:59 am
Forum: Development of Ren'Py
Topic: Modal property in windows and frames.
Replies: 3
Views: 2820

Re: Modal property in windows and frames.

Hello. I think this topic can be closed. Just confused by the results of the differences, I mean integer and floating point number on the arguments x and y. Thank you for your answers on this issue. _____________________________________________________________________________________________________...
by vital1970
Tue Jun 21, 2022 1:01 pm
Forum: Development of Ren'Py
Topic: Modal property in windows and frames.
Replies: 3
Views: 2820

Re: Modal property in windows and frames.

Thank you for your reply. I understand what you are talking about. In case we apply the button to the whole screen, the x and y positions will coincide with the positions of the mouse cursor and will be integers. Example. init python: def modal_function(ev, x, y, w, h): import pygame_sdl2 as mypygam...
by vital1970
Tue Jun 14, 2022 12:54 pm
Forum: Development of Ren'Py
Topic: Modal property in windows and frames.
Replies: 3
Views: 2820

Modal property in windows and frames.

Hello. I tried to apply the modal property with the called function in buttons. I used three buttons with different position properties as an experiment. I checked the value of arguments with variables. The x argument passed the mouse position on the x axis. The y argument should pass the mouse posi...
by vital1970
Tue Apr 13, 2021 3:27 pm
Forum: Ren'Py Questions and Announcements
Topic: Muting the sound when minimizing the window
Replies: 4
Views: 994

Muting the sound when minimizing the window

Hello.
Is there a way in Ren'py to mute or pause audio when the window is minimized? And if not, how to implement it?
by vital1970
Mon Jun 15, 2020 2:19 pm
Forum: Ren'Py Questions and Announcements
Topic: Style Menu in screen="airport"
Replies: 4
Views: 6538

Re: Style Menu in screen="airport"

Try using styles.
style menu:
style menu_window:
style menu_choice_chosen_button:
style menu_choice_chosen:
They are visible via shift+i