Search found 158 matches

by Errilhl
Wed Nov 29, 2017 8:27 am
Forum: Ren'Py Questions and Announcements
Topic: Run the equivalent of window hide / window auto from within a function
Replies: 12
Views: 4530

Re: Run the equivalent of window hide / window auto from within a function

Hm... I'm considering whether or not it would be doable to have a separate textbox for these instances, basically transparent (hence, hidden) and match that with an empty "what"... Need to test that out.
by Errilhl
Wed Nov 29, 2017 8:26 am
Forum: Ren'Py Questions and Announcements
Topic: Run the equivalent of window hide / window auto from within a function
Replies: 12
Views: 4530

Re: Run the equivalent of window hide / window auto from within a function

Typical :) These things, to me, are things that would be very nice to have default actions for in Ren'Py. It should not be hard, or demand otherwise "hacking" it to work - it should just be a simple switch. Maybe I'm weird, but I would think that 1. having an empty textbox showing during p...
by Errilhl
Wed Nov 29, 2017 8:23 am
Forum: Ren'Py Questions and Announcements
Topic: Ren'py Extensible Window When On Different Sized Monitor?
Replies: 7
Views: 843

Re: Ren'py Extensible Window When On Different Sized Monitor?

That's very weird - can it maybe have anything to do with drivers or something on your laptop? I have a three-screen setup here, on my desktop, and I can switch between the different screens (with the game), dragging it, resizing it, go fullscreen or whatnot, without issues. Have not tested on a lap...
by Errilhl
Tue Nov 28, 2017 3:51 pm
Forum: Ren'Py Questions and Announcements
Topic: Run the equivalent of window hide / window auto from within a function
Replies: 12
Views: 4530

Re: Run the equivalent of window hide / window auto from within a function

Can I somehow do that in "regular" renpy as well? Ie in script.rpy? Hide specific parts of the window when / if needed? (well, I know I can, I was just wondering how I, for instance, can hide the textbox (and only the textbox) at specific times).
by Errilhl
Tue Nov 28, 2017 3:44 pm
Forum: Ren'Py Questions and Announcements
Topic: [solved] Renpy-launcher (development) - change default storage for screenshots?
Replies: 3
Views: 1279

Re: Renpy-launcher (development) - change default storage for screenshots?

Thanks - I will test it out.

That worked perfectly! :) Thanks a lot. Still think it would be nice to have a specific setting for the development / launcher console, so that this was kept separate from the in-game logic, but it works. Now I just need to remember to take it out when I'm packaging :D
by Errilhl
Tue Nov 28, 2017 4:47 am
Forum: Ren'Py Questions and Announcements
Topic: Run the equivalent of window hide / window auto from within a function
Replies: 12
Views: 4530

Run the equivalent of window hide / window auto from within a function

Okay. So, I have the following function: init -100 python: def statschangeNotify(a,f,p=False): # a = attribute to change # f = negative or positive value representing the change # p = longer pause or not # This function have no reason to be used by anything else, so keep it internal to "statsch...
by Errilhl
Tue Nov 28, 2017 4:29 am
Forum: Ren'Py Questions and Announcements
Topic: [solved] Renpy-launcher (development) - change default storage for screenshots?
Replies: 3
Views: 1279

[solved] Renpy-launcher (development) - change default storage for screenshots?

For some reason, Renpy launcher defaults to saving the screenshots taking while developing in the actual runtime folder... instead of, like... the My pictures folder, My documents/renpy-screenshots or whatever else would make a bit more sense. You don't store anything in program-folders! Is it possi...
by Errilhl
Mon Nov 27, 2017 10:41 pm
Forum: Ren'Py Questions and Announcements
Topic: [solved] Empty textbox / narrator screen shows up while using renpy.pause()
Replies: 5
Views: 2510

Re: Empty textbox / narrator screen shows up while using renpy.pause()

That is... actually sort of a hassle... don't see why this isn't a one-time setting in a config somewhere (hide_if_empty = True). But thanks, I will have to go through and fix all my pause-statements now :D
by Errilhl
Mon Nov 27, 2017 10:15 pm
Forum: Ren'Py Questions and Announcements
Topic: [solved] Empty textbox / narrator screen shows up while using renpy.pause()
Replies: 5
Views: 2510

Re: Empty textbox / narrator screen shows up while using renpy.pause()

Anyone have any clue about this? Any way to hide the textbox when there is no content / it's empty?
by Errilhl
Mon Nov 27, 2017 10:15 pm
Forum: Ren'Py Questions and Announcements
Topic: Ren'py Extensible Window When On Different Sized Monitor?
Replies: 7
Views: 843

Re: Ren'py Extensible Window When On Different Sized Monitor?

Hm. Does this happen when you maximise the windowed version, or when you chose "full screen" from the options? Or both? Any particular screen-settings anywhere in your game? It shouldn't glitch like that, but I do not know what's the cause, unfortunately.
by Errilhl
Mon Nov 27, 2017 8:08 pm
Forum: Ren'Py Questions and Announcements
Topic: Ren'py Extensible Window When On Different Sized Monitor?
Replies: 7
Views: 843

Re: Ren'py Extensible Window When On Different Sized Monitor?

I'm not entirely sure what you're asking. Your second monitor (given that the px-measurements are correct) is smaller (the resolution) than the laptop screen. So... what are you trying to extend? Are you trying to extend it across two monitors? If so, that should work fine. I'm assuming you're using...
by Errilhl
Mon Nov 27, 2017 5:07 am
Forum: Ren'Py Questions and Announcements
Topic: Using renpy function names and variables in an external function?
Replies: 9
Views: 2629

Re: Using renpy function names and variables in an external function?

Probably. I ended up doing it via a label, and using call labelname instead. Current code: label w_mc: $ c = 0 $ mcI = False if mc_b >= 40 and mc_b < 100: $ c = .35 elif mc_b >= 100 and mc_b <= 150: $ c = .25 else: $ c = .5 if renpy.random.random() > c: if mc_b <= 40: $ mcI = 1 elif mc_b <= 75: $ mc...
by Errilhl
Mon Nov 27, 2017 1:49 am
Forum: Ren'Py Questions and Announcements
Topic: Using renpy function names and variables in an external function?
Replies: 9
Views: 2629

Re: Using renpy function names and variables in an external function?

A follow up question:
I was trying to do

Code: Select all

show ingame_menu_screen
from within my function (which is inside a init python call.
That does not work, and returns a "invalid syntax" error
Any way I can load the screen, reload the screen, update the screen in question from within the function?
by Errilhl
Mon Nov 27, 2017 12:06 am
Forum: Ren'Py Questions and Announcements
Topic: Using renpy function names and variables in an external function?
Replies: 9
Views: 2629

Re: Using renpy function names and variables in an external function?

Hm, okay. I will try it again :) And yeah, I figured that it might have to do with scope - although, I've seen function declared within functions before, for only internal use - seems to be working fine? Also, instead of declaring globals (which I really don't like to do), I could be using setattr()...
by Errilhl
Sun Nov 26, 2017 11:09 pm
Forum: Ren'Py Questions and Announcements
Topic: Using renpy function names and variables in an external function?
Replies: 9
Views: 2629

Re: Using renpy function names and variables in an external function?

It's basically just a repeatable event that I want to take out of the script.rpy code, and call that whenever I need to. I've managed to have it work as I want by reducing the amount of code, and just placing it before the label start: Currently the code is this: init python: def w_mc(): c = 0 mcI =...