Search found 1635 matches

by philat
Fri Oct 11, 2019 3:07 am
Forum: Ren'Py Questions and Announcements
Topic: dialogue text blinks during transition
Replies: 8
Views: 258

Re: dialogue text blinks during transition

Code: Select all

screen test():
    add Solid("#FFF", xysize=(50,50)) at dissolvein
   
label start:
    "blah blah {nw}"
    show screen test
    extend "blah blah2"
   
transform dissolvein:
    alpha 0
    linear 0.5 alpha 1.0
by philat
Thu Oct 10, 2019 11:44 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Creating an explorable screen?
Replies: 10
Views: 249

Re: Creating an explorable screen?

Well, obviously you need to put the hotspot there. You can find the coordinates of the hotspot using the dev tools as described above.
by philat
Thu Oct 10, 2019 7:38 pm
Forum: Ren'Py Questions and Announcements
Topic: dialogue text blinks during transition
Replies: 8
Views: 258

Re: dialogue text blinks during transition

That's just how transitions work. Use ATL if you want the textbox to stay.
by philat
Thu Oct 10, 2019 7:32 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Creating an explorable screen?
Replies: 10
Views: 249

Re: Creating an explorable screen?

You can just use xpos x ypos y. Alternatively, export the file as the same size as your screen (with transparency) and use alpha so the transparent parts are insensitive - I tend to do the latter because fiddling with placing the images in renpy is tedious. Scroll down for the alpha keyword: https:/...
by philat
Thu Oct 10, 2019 4:49 am
Forum: Ren'Py Questions and Announcements
Topic: textbutton behaviour
Replies: 1
Views: 138

Re: textbutton behaviour

SetVariable makes a button unresponsive if the variable is already set to whatever you're trying to set it to. In this case, it means extra_search is already "". It would probably be easier to set extra_search to a different default setting rather than making your own screen action that doesn't beha...
by philat
Tue Oct 08, 2019 3:54 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Trouble with hovered animation for choice buttons
Replies: 19
Views: 650

Re: Trouble with hovered animation for choice buttons

Limited to the error itself: you need str() around choice_number since you're trying to concatenate a string and an integer.
by philat
Mon Oct 07, 2019 10:18 pm
Forum: Ren'Py Questions and Announcements
Topic: Confirmation after Menu selection
Replies: 3
Views: 172

Re: Confirmation after Menu selection

Probably the best solution would be using a tooltip on hover. Easier to create a custom screen for this (although you can modify the menu choice screen to take optional tooltips, that's more advanced than just making a screen from scratch).

https://www.renpy.org/doc/html/screen_a ... l#tooltips
by philat
Fri Oct 04, 2019 11:26 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Why do values change when you open the developer console?
Replies: 6
Views: 333

Re: Why do values change when you open the developer console?

Huh. I have no idea when Ren'Py was patched not to throw an error after an empty label -- logically, everything under a label should be indented and it definitely used to throw an error if not. (I am referring to the empty label start). In any case, the way you organized your code is difficult to pa...
by philat
Fri Oct 04, 2019 10:51 pm
Forum: Ren'Py Questions and Announcements
Topic: Drag&Drop: how to know coordenates of drop position?
Replies: 6
Views: 339

Re: Drag&Drop: how to know coordenates of drop position?

Yeah, I'm not a programmer either. You asked two questions. Can you access a Drag's x/y/width? If so, how do you store it in a variable? The documentation answers both. 1. Yes, a Drag's x/y/width are available properties. 2. There is literally an example of a Drag's properties being stored in a vari...
by philat
Fri Oct 04, 2019 9:23 pm
Forum: Ren'Py Questions and Announcements
Topic: Drag&Drop: how to know coordenates of drop position?
Replies: 6
Views: 339

Re: Drag&Drop: how to know coordenates of drop position?

Except for d, all of the parameters are available as fields (with the same name) on the Drag object. In addition, after the drag has been rendered, the following fields become available: x, y The position of the Drag relative to its parent, in pixels. w, h The width and height of the Drag's child, ...
by philat
Fri Oct 04, 2019 9:21 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Why do values change when you open the developer console?
Replies: 6
Views: 333

Re: Why do values change when you open the developer console?

Besides the fact that that code obviously won't run (indentation, organization, etc.) -- you're still in the same ren'py statement (call screen Continue) and opening the console boots you to the beginning of the statement. If you were in a loop (call screen, return and do stuff, call screen again) r...
by philat
Tue Oct 01, 2019 7:42 pm
Forum: Ren'Py Questions and Announcements
Topic: Animation with dots, lines, bezier curves
Replies: 9
Views: 345

Re: Animation with dots, lines, bezier curves

I've never really tried this (never had a need) but I remember thinking it looked interesting. Maybe take a look and see if it's what you need.

viewtopic.php?f=51&t=53397&p=503020
by philat
Tue Sep 24, 2019 8:50 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Capping a variable
Replies: 6
Views: 370

Re: Capping a variable

Is there some reason why you wouldn't use the exact same mechanism (min) that you used before...
by philat
Thu Sep 19, 2019 8:54 pm
Forum: Ren'Py Questions and Announcements
Topic: How To Add a Scrollbar to the Main Dialogue
Replies: 8
Views: 409

Re: How To Add a Scrollbar to the Main Dialogue

The point is that it's impossible to help without knowing more -- there's no reason that the viewport should cut off randomly, so something is making it do that, but you're not showing a screenshot, or your styles, or your character definitions (if that's where the centered stuff is coming from). Th...
by philat
Wed Sep 18, 2019 9:32 pm
Forum: Ren'Py Questions and Announcements
Topic: How To Add a Scrollbar to the Main Dialogue
Replies: 8
Views: 409

Re: How To Add a Scrollbar to the Main Dialogue

Honestly have no idea what you're trying to achieve or what you're seeing based on your posts. Have you changed the styles outside of the say screen? In gui.rpy? Where did you put the code to center the dialogue? etc. etc.