Search found 11 matches

by rames44a
Fri Feb 10, 2023 3:49 pm
Forum: Ren'Py Questions and Announcements
Topic: Transforms without starting points
Replies: 10
Views: 1595

Re: Transforms without starting points

You want to directly access the transform object that is linked to the camera. Actually, that is a good idea. That was what I was trying to ask from the beginning. Perhaps not clearly, but... I believe you can get it using the following: trans = renpy.game.context().scene_lists.camera_transform[&qu...
by rames44a
Thu Feb 09, 2023 10:09 am
Forum: Ren'Py Questions and Announcements
Topic: Transforms without starting points
Replies: 10
Views: 1595

Re: Transforms without starting points

Understand the confusion - I was using "current position" to mean "current position before applying the new transform." Your options #2 and #3 both require external tracking of the transform attributes. I was hoping to avoid that and use the "real" ones, since they are ...
by rames44a
Thu Feb 09, 2023 12:19 am
Forum: Ren'Py Questions and Announcements
Topic: Transforms without starting points
Replies: 10
Views: 1595

Re: Transforms without starting points

I believe transforms does not use "starting position". It uses current properties, current st, at (timebase of the displayable), warper, and "final" properties to calculate new intermediate properties. For example: linear 1.0 xpos 100 at st = 0.5, it knows the last xpos ( trans....
by rames44a
Wed Feb 08, 2023 2:30 pm
Forum: Ren'Py Questions and Announcements
Topic: Transforms without starting points
Replies: 10
Views: 1595

Re: Transforms without starting points

My first version of the question had a lot of extraneous stuff in it. Let me distill it down: Here's a more succinct version. Clearer background: I want to dynamically alter the transform applied to the Ren'py camera. From Python. To create "pan and zoom" effects. renpy.show_layer_at with ...
by rames44a
Mon Feb 06, 2023 10:39 pm
Forum: Ren'Py Questions and Announcements
Topic: Transforms without starting points
Replies: 10
Views: 1595

Transforms without starting points

I've been experimenting with renpy.show_layer_at to dynamically alter the "viewport" into a Movie so that I can effectively zoom and pan while it's playing. I can define a few transitions: transform return_full_screen: linear 1.0 xpos 0 ypos 0 zpos 0 transform t1: linear 1.0 xpos 100 ypos ...
by rames44a
Tue Nov 08, 2022 12:07 pm
Forum: Ren'Py Questions and Announcements
Topic: Understanding 3D Transforms
Replies: 4
Views: 434

Re: Understanding 3D Transforms

This also works: image black = "#000" image abcd = Text("ABCD", size=100) image defg = Text("DEFG", size=100) image hijk = Text("HIJK", size=100) image lmno = Text("LMNO", size=100) transform angle: perspective True matrixanchor (0.0, 0.5) matrixtran...
by rames44a
Tue Nov 08, 2022 11:57 am
Forum: Ren'Py Questions and Announcements
Topic: Understanding 3D Transforms
Replies: 4
Views: 434

Re: Understanding 3D Transforms

OK, I see what you're doing - applying the rotation as the image is built, and then separately positioning it. Elegant. As I said, I think the way I was doing it, what was happening was that I was rotating and moving the camera around the image, rather than rotating the camera and then shifting the ...
by rames44a
Sun Nov 06, 2022 8:57 pm
Forum: Ren'Py Questions and Announcements
Topic: Understanding 3D Transforms
Replies: 4
Views: 434

Understanding 3D Transforms

I'm trying to understand how to make 3D transforms work the way I want them to. What I'm trying to do is to position text (as an image built using Text()) on the screen, with it rotated so that it appears to be going into the screen. Or, put another way, what I'd like to do is to position the anchor...
by rames44a
Thu May 31, 2018 1:05 pm
Forum: Ren'Py Questions and Announcements
Topic: Image scaling / zooming
Replies: 10
Views: 1343

Re: Image scaling / zooming

Oddly enough, "Composite" doesn't appear to be listed in the current 6.99.14.3 documentation, although it's in the 7.0 beta stuff. Guess it inadvertently got removed. (There are still one or two references to LiveComposite, but again no docs for it.)
by rames44a
Wed May 23, 2018 11:38 am
Forum: Ren'Py Questions and Announcements
Topic: 'hide screen' vs 'renpy.hide_screen()' - documentation inconsistency?
Replies: 3
Views: 3810

Re: 'hide screen' vs 'renpy.hide_screen()' - documentation inconsistency?

Thanks. I was working on doing just that when I posted the question, however part of the point is that when one strays away from what is explicitly documented, one is potentially subject to, well, “undocumented behavior” which may be unintentional or subject to change. Thus, if this is the intended ...
by rames44a
Wed May 23, 2018 10:26 am
Forum: Ren'Py Questions and Announcements
Topic: 'hide screen' vs 'renpy.hide_screen()' - documentation inconsistency?
Replies: 3
Views: 3810

'hide screen' vs 'renpy.hide_screen()' - documentation inconsistency?

https://www.renpy.org/doc/html/screens.html#show-screen describes the show screen and hide screen statements. show screen is explicitly documented as taking a screen name as an argument, which makes perfect sense. hide screen just says "The hide screen statement is used to hide a screen that i...