Search found 106 matches

by Tayruu
Sat Jan 05, 2019 1:59 am
Forum: Ren'Py Questions and Announcements
Topic: CTC misaligned on centred text.
Replies: 1
Views: 96

Re: CTC misaligned on centred text.

Current possible solution:

Code: Select all

    config.drawable_resolution_text = False
The problem with this, naturally, is it'll cause text to display blurry at higher DPI/scaling settings. Some people might not like this.

(The transitions blurring is something I've expanded on in a separate topic.)
by Tayruu
Sat Jan 05, 2019 1:55 am
Forum: Development of Ren'Py
Topic: DPI/Scaling anomalies - use_drawable_resolution not functioning as expected.
Replies: 0
Views: 276

DPI/Scaling anomalies - use_drawable_resolution not functioning as expected.

Okay, I know I've posted about this before, but this is a different machine, and I've done my best to explain all the details of behaviours I've observed. My problem is that due to DPI/scaling in Windows, it makes Ren'py behave in ways that I don't think are intended. So I have two machines: a Surfa...
by Tayruu
Fri Dec 28, 2018 8:47 pm
Forum: Ren'Py Questions and Announcements
Topic: CTC misaligned on centred text.
Replies: 1
Views: 96

CTC misaligned on centred text.

In certain parts of my game, I want to display blocks of NVL text in the middle of the screen. To do so, I use {vspace=x} tags. The problem is this causes my inline CTC element to not display, well, inline. Here is an image demonstrating such. However, I've learned that this only happens if Renpy is...
by Tayruu
Sun Oct 28, 2018 3:14 am
Forum: Ren'Py Questions and Announcements
Topic: Control or disable DPI/scaling in Windows
Replies: 0
Views: 93

Control or disable DPI/scaling in Windows

In Windows 10, you have the option to scale UI applications up if your screen is high resolution. Technically this has existed since Windows 7 as far as I know, but notably the most recent version of W10 there's no longer the option to disable the high-DPI scaling on an application. I find this a pr...
by Tayruu
Tue Oct 23, 2018 8:36 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Only allow hide_windows if say/etc actually displayed
Replies: 8
Views: 669

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

In my original post I mention trying that, but it "caused dialogue to behave erratically". I don't remember what happened exactly, but I think it caused visual glitches?

And besides that would only affect the say screen, this works for say and nvl.
by Tayruu
Tue Oct 23, 2018 6:46 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Only allow hide_windows if say/etc actually displayed
Replies: 8
Views: 669

Re: Only allow hide_windows if say/etc actually displayed

So this probably isn't the most perfect solution, but it seems to achieve 90% of the job. The variable store._last_say_who appears to store, well, the last "who" of dialogue. By using this in _new_hide_windows (an edit of the window hiding method), I can skip the function if there's no present dialo...
by Tayruu
Sun Sep 09, 2018 4:25 am
Forum: Ren'Py Questions and Announcements
Topic: Readback Text History
Replies: 6
Views: 233

Re: Readback Text History

You mean you want to replace the "rewind" function with just a text history? You can still do that. Here's a quick slimmed down version of the code I use in my own project. I'm not completely confident about it, but it seems to work in a fresh project. What it does is make the scrollwheel bring up t...
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: 669

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

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

[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: 236

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

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

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

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: 8
Views: 1578

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...