Search found 129 matches

by Tayruu
Sun Sep 09, 2018 3:47 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Only allow hide_windows if say/etc actually displayed
Replies: 8
Views: 1006

Re: Only allow hide_windows if say/etc actually displayed

I used window show and window hide quite regularly, so _window_during_transitions probably doesn't do anything for me.

And it still doesn't help for detecting if the relevant windows are visible.
by Tayruu
Wed Sep 05, 2018 10:33 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Only allow hide_windows if say/etc actually displayed
Replies: 8
Views: 1006

Re: Only allow hide_windows if say/etc actually displayed

I'm not sure what I'm supposed to do with that? Looking it up it sounds like a different function entirely - that it makes the dialogue window remain on-screen.
by Tayruu
Tue Sep 04, 2018 4:04 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Only allow hide_windows if say/etc actually displayed
Replies: 8
Views: 1006

[Solved] Only allow hide_windows if say/etc actually displayed

I have found the function to hide the dialogue window (via mouse-wheel or other buttons) has the issue of causing transition/animation issues if the button is pressed during non-dialogue contexts. Either it makes transitions/animations skip ahead, or fail to play until after a certain amount of time...
by Tayruu
Tue Jul 10, 2018 8:41 pm
Forum: Ren'Py Questions and Announcements
Topic: Align a viewport to bottom of parent element, or scroll viewport to bottom when updated
Replies: 4
Views: 385

Re: Align a viewport to bottom of parent element, or scroll viewport to bottom when updated

Oh hey, y.value seems to solve the problem. Of course I realise now that the scroll resets if things like the menu or history are brought up, which means if the player scrolls up it'll lose their place. This isn't *too* much of a problem as I'm using this for narrative purposes rather than a "mechan...
by Tayruu
Mon Jul 09, 2018 3:30 am
Forum: Ren'Py Questions and Announcements
Topic: Align a viewport to bottom of parent element, or scroll viewport to bottom when updated
Replies: 4
Views: 385

Align a viewport to bottom of parent element, or scroll viewport to bottom when updated

In my project I'm creating a system where characters send each other messages/texts online and on phones. My problem lies in how I'm trying to display the messages - I want the messages to be displayed from the bottom, and to keep the area showing those messages bound to the bottom , showing the lat...
by Tayruu
Tue Jul 03, 2018 11:28 pm
Forum: Ren'Py Questions and Announcements
Topic: Loading save file doesn't direct you to the place you saved to?
Replies: 1
Views: 184

Re: Loading save file doesn't direct you to the place you saved to?

Is this save in somewhere non-standard? That is to say, it's not in "normal" dialogue/narration, but inside a screen of some sort? https://www.renpy.org/doc/html/save_load_rollback.html#retaining-data-after-load You might find this helpful, renpy.retain_after_load() helps to make sure that the state...
by Tayruu
Mon Jul 02, 2018 2:46 am
Forum: Ren'Py Questions and Announcements
Topic: AlphaDissolve transition prevents screen interaction.
Replies: 0
Views: 159

AlphaDissolve transition prevents screen interaction.

I've created two similar transitions using images - an image spins and zooms inwards, and for the other version it zooms outwards. For whatever reason, when I use this transition to display a screen (e.g. the title), I cannot click on any buttons on the screen. This doesn't seem to be a fault of Alp...
by Tayruu
Thu Jun 14, 2018 4:32 am
Forum: Ren'Py Questions and Announcements
Topic: Extending Ren'Py visuals with custom OpenGL shaders
Replies: 9
Views: 2578

Re: Extending Ren'Py visuals with custom OpenGL shaders

With some work, I managed to get this at least running for me in my project. I copied the shader and OpenGL folders into my project, as well as the director.rpy, though I then I reduced a lot of code in that file down to the only part I needed: blurring. init python: import shader def show_blurred(i...
by Tayruu
Sat Jun 02, 2018 3:32 am
Forum: Ren'Py Questions and Announcements
Topic: Ren'Py 7.0 Released
Replies: 14
Views: 4161

Re: Ren'Py 7.0 Released

Been experimenting so far with improving on my "Portrait System" to make use of these new layered sprites. I feel like I might be missing something though, but is there a way to default to the default of a group if the current attribute doesn't exist? e.g. I have a "neutral_base" and "neutral_eyes",...
by Tayruu
Fri Jun 01, 2018 11:07 am
Forum: Ren'Py Questions and Announcements
Topic: Disable automatic window resizing
Replies: 5
Views: 619

Re: Disable automatic window resizing

I get the feeling what's resizing the game window is buried within files I cannot access. Specifically encrypted .pyd files in Renpy's lib directory. I suspected that draw.set_mode in display/core.py is what returns a downscaled window, but the set_mode that gets called in the first place is out of ...
by Tayruu
Fri Jun 01, 2018 8:21 am
Forum: Ren'Py Questions and Announcements
Topic: Junk variables in the Variable Viewer?
Replies: 0
Views: 268

Junk variables in the Variable Viewer?

For a few versions I've noticed a lot of "junk" variables show up in the Variable Viewer, and I've wondered why this is. It's not like these do any harm, but I've sometimes checked my variables to be sure I'm not leaving anything straggling behind after its past its use, or duplicate names/etc. (I c...
by Tayruu
Fri Jun 01, 2018 6:24 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Dialogue called from a menu is not added to History.
Replies: 10
Views: 646

Re: [Solved] Dialogue called from a menu is not added to History.

I'm... not sure why I'm using python statements there. It might be older code I've copied from other things over and over and not updated. I think "calling" a screen follows a pattern of "show the screen and close it once interaction has occurred", whereas "show screen" doesn't automatically close i...
by Tayruu
Fri Jun 01, 2018 3:33 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Dialogue called from a menu is not added to History.
Replies: 10
Views: 646

Re: Dialogue called from a menu is not added to History.

With some experimenting it seems that using modal True was not going to work. The problem with this is that it also prevented me from advancing dialogue that was called from the examine button. I was also getting a few errors for trying to use "call screen" to do with forgetting a ui.close or some s...
by Tayruu
Thu May 31, 2018 5:34 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Dialogue called from a menu is not added to History.
Replies: 10
Views: 646

Re: Dialogue called from a menu is not added to History.

I'm not sure I can avoid that? My project has an item screen, which is opened via a button. It lists your inventory and has an "examine" button (which calls the dialogue). If I change ShowMenu to just Show , yes, the dialogue now loads into history. However since the item screen is no longer new con...
by Tayruu
Thu May 31, 2018 4:42 am
Forum: Ren'Py Questions and Announcements
Topic: Disable automatic window resizing
Replies: 5
Views: 619

Re: Disable automatic window resizing

I'm not sure how that's relevant? To clarify, I don't intend to use adjust_view_size or similar in the game proper , the reason I made use of that function was to try and make sure the windowed size was what I expected. What I want to know is why Ren'py seems to shrink the game window ever so slight...