Search found 1882 matches
- Thu Sep 29, 2016 4:06 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to bring hovered imagebutton on top?
- Replies: 3
- Views: 460
Re: How to bring hovered imagebutton on top?
Solved it. Here is what I have done: Added another two static images, same as idle state of my buttons, positioned the same way as my buttons, but drawn before them. Essentiallly hidden behind them. On second though I just added them to the background, but this might not be suited for all. Creates c...
- Wed Sep 28, 2016 1:42 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Too much data in translation variable
- Replies: 2
- Views: 389
Re: Too much data in translation variable
Did you try to fill it sequentially? init python: translation = {} translation["settings"] = { "english" : "SETTINGS", None : "НАСТРОЙКИ", "spanish" : "OPCIONES", "italian" : "IMPOSTAZIONI", "japanese" : "設定", } translation["start"] = { "english" : "START", None : "СТАРТ", "spanish" : "COMIENZO", "i...
- Wed Sep 28, 2016 9:06 am
- Forum: Ren'Py Questions and Announcements
- Topic: Error: UserParser object has no attribute 'nchildren'
- Replies: 2
- Views: 463
Re: Error: UserParser object has no attribute 'nchildren'
Default game_menu screen with scroll="viewport" uses following code: vbox: transclude In your use statement you have has statement. According to documentation , vbox cannot have has statement. I think you just need to remove line has vbox: . Otherwise you will have vbox in vbox in vbox which does no...
- Wed Sep 28, 2016 8:21 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to bring hovered imagebutton on top?
- Replies: 3
- Views: 460
How to bring hovered imagebutton on top?
I have two buttons on screen defined like that: imagebutton auto 'images/menu/door_left_%s.png' focus_mask "images/menu/door_left_mask.png" action Quit(False) imagebutton auto 'images/menu/door_right_%s.png' focus_mask "images/menu/door_right_mask.png" action Quit(False) The problem is in "hovered" ...
- Wed Aug 24, 2016 12:37 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to make all items in vbox to have same xsize?
- Replies: 5
- Views: 1658
Re: How to make all items in vbox to have same xsize?
I might not understood your proposal, but the problem is finding exact size. As I said, vpgrid width will change, and I do not want to hardcode sizes. For now I set second viewport size manually by inspecting vpgrid in Displayable Inspector and looking at its size, but I want more robust solution. I...
- Wed Aug 24, 2016 11:58 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to make all items in vbox to have same xsize?
- Replies: 5
- Views: 1658
Re: How to make all items in vbox to have same xsize?
Sadly size_group didn't work for me: it seems to expand all widgets width to the width of largest one. I have opposite problem: "text" displayable tries to use as much width as possible before starting to wrap words to the next line. I want to limit it to the width of vpgrid defined before.
- Tue Aug 23, 2016 11:16 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to make all items in vbox to have same xsize?
- Replies: 5
- Views: 1658
How to make all items in vbox to have same xsize?
I have a vbox, which has a vpgrid. That grid manages own width just fine and I do not want to set it explicitely. After it I have viewport which uses another screen, containing ton of text, so, if I do not set width explicitely, it will atempt to fill rest of the screen. I want second viewport to ha...