ui.frame as static part bg

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
JinOptimist
Newbie
Posts: 8
Joined: Tue Apr 09, 2013 8:10 am
Projects: Carrier
Skype: JinOptimist
Location: Belarus, Minsk
Contact:

ui.frame as static part bg

#1 Post by JinOptimist »

Hi!

Sorry for poor English. This is Google Translate.

Thank tutorial. Learned how to create ui.frame. And found no pleasant feature, at the click of a mouse (eg when the next part of the text is displayed) created a frame disappears. I understand that most likely there is some obvious property, put in a true and everything will be fine, but the life of me could not find.
Is there any possibility to create a frame, so that he would not disappear by the first user action?
Question seemingly typical. Same hp, that would constantly in the top left of the screen, while the bottom is the story, but nothing in the documentation and examples could not find.
Maybe just bad looking, swear on unfamiliar editor is not correct.
If anyone has a solution to my problem, I'll be glad to hear. Even just a reference to the function that I missed and it really helps.

Original on Russian
Привет,
Спасибо учебнику. Научился создавать ui.frame. И обнаружил не приятную фичу, по щелчку мышки (например когда следующая часть текста показывается) созданный фрэйм исчезает. Понимаю, что скорее всего есть какое-то очевидное свойство, поставить в true и всё будет хорошо, но хоть убей найти не смог.
Есть ли вообще возможность создать фрэйм так, что бы он исчезал не по первому же действию пользователя?
Вопрос казалось бы типовой. Те же hp, что бы постоянно находились сверху слева на экране, пока снизу идёт повествование, однако ничего в документации и примерах найти не смог.
Может просто плохо искал, ругаться на малознакомый редактор не правильно.
Если у кого есть решение моей проблемы, буду рад услышать. Даже просто отсылка к функции которую я пропустил и то сильно поможет.

User avatar
xela
Lemma-Class Veteran
Posts: 2481
Joined: Sun Sep 18, 2011 10:13 am
Contact:

Re: ui.frame as static part bg

#2 Post by xela »

Почему не используешь screen language?

Нет нековкого параметра который можно включить что-бы фрэйм остался на экране, либо используй скрины, либо while loop.
Like what we're doing? Support us at:
Image

User avatar
JinOptimist
Newbie
Posts: 8
Joined: Tue Apr 09, 2013 8:10 am
Projects: Carrier
Skype: JinOptimist
Location: Belarus, Minsk
Contact:

Re: ui.frame as static part bg

#3 Post by JinOptimist »

Solved!
I just used config.overlay_functions.append
http://www.renpy.org/wiki/renpy/doc/reference/Overlays

For Russian friends
Нашёл решение, нужно использовать config.overlay_functions.append
Можно всё что я рисовал и ложил во фрэйм кидать config.overlay_functions.append
А что есть русскоязычный форму по RenPy? Не уж-то просмотрел? Выбор языка при регистрации был мягко говоря не велик.

User avatar
xela
Lemma-Class Veteran
Posts: 2481
Joined: Sun Sep 18, 2011 10:13 am
Contact:

Re: ui.frame as static part bg

#4 Post by xela »

JinOptimist wrote:Solved!
I just used config.overlay_functions.append
http://www.renpy.org/wiki/renpy/doc/reference/Overlays

For Russian friends
Нашёл решение, нужно использовать config.overlay_functions.append
Можно всё что я рисовал и ложил во фрэйм кидать config.overlay_functions.append
А что есть русскоязычный форму по RenPy? Не уж-то просмотрел? Выбор языка при регистрации был мягко говоря не велик.

Ищи вКонтакте, там живёт РенПи в России.

Кстати, через оверлай скрины кодить закончили года два назад :)
Like what we're doing? Support us at:
Image

User avatar
PyTom
Ren'Py Creator
Posts: 16093
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: ui.frame as static part bg

#5 Post by PyTom »

You don't have to spoiler out the Russian - it's fine to just translate it. Spasibo!
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot], piinkpuddiin, Semrush [Bot]