Search found 13 matches

by angelicdreamweaver
Sat Dec 02, 2023 5:58 am
Forum: Ren'Py Questions and Announcements
Topic: [solved]Change or transform an image already on the screen?
Replies: 13
Views: 8858

Re: Change or transform an image already on the screen?

I actually did have the xpan 0 in there as well. Now when I tested it again, copying the lines in the same place, it worked fabulous. Don't know what was wrong before. :roll: Thank you! :D
by angelicdreamweaver
Wed Nov 29, 2023 3:31 pm
Forum: Ren'Py Questions and Announcements
Topic: [solved]Change or transform an image already on the screen?
Replies: 13
Views: 8858

Re: Change or transform an image already on the screen?

Nothing has changed from what I posted earlier in #6 ...
Thank you for looking into this! :)
by angelicdreamweaver
Wed Nov 29, 2023 8:15 am
Forum: Ren'Py Questions and Announcements
Topic: [solved]Change or transform an image already on the screen?
Replies: 13
Views: 8858

Re: Change or transform an image already on the screen?

m_from_space wrote: Mon Nov 27, 2023 8:28 am Probably because of the wrong order like @Ocelot stated. Because on my end it works.
How weird! When I do it, it doesn't matter what order the transforms are called. I always have that jump foward during the panning. :roll:
by angelicdreamweaver
Sun Nov 26, 2023 12:35 pm
Forum: Ren'Py Questions and Announcements
Topic: [solved]Change or transform an image already on the screen?
Replies: 13
Views: 8858

Re: Change or transform an image already on the screen?

m_from_space wrote: Sun Nov 26, 2023 8:36 am The reason is that you didn't set a default value for that property you are changing.
xpan wants a float by the way.
Thanks, I changed both... but it still does the same than before, that weird jump forward in the panning.
by angelicdreamweaver
Sun Nov 26, 2023 8:11 am
Forum: Ren'Py Questions and Announcements
Topic: [solved]Change or transform an image already on the screen?
Replies: 13
Views: 8858

Re: Change or transform an image already on the screen?

What I wrote in previous post is very important. Are you sure that previous image pan is replaced be a new image pan? If for the original image pan was the last transform applied, then for newly showed image it should be last transform applied too. Well, I changed the order of the two transform cal...
by angelicdreamweaver
Sat Nov 25, 2023 4:14 pm
Forum: Ren'Py Questions and Announcements
Topic: [solved]Change or transform an image already on the screen?
Replies: 13
Views: 8858

Re: Change or transform an image already on the screen?

Actually, you can. Just use the "animation" keyword, so the panning animation isn't restarted. Nice, thank you! It almost works, though there is a noticeable jump forward by perhaps 100 pixel or so in the panning. I am using "linear 333.0 xpan 360" and not xoffset. Adding the &q...
by angelicdreamweaver
Fri Nov 24, 2023 5:59 am
Forum: Ren'Py Questions and Announcements
Topic: [solved]Change or transform an image already on the screen?
Replies: 13
Views: 8858

[solved]Change or transform an image already on the screen?

Can I refer to an already shown image that is constantly panning and change the tint afterwards at a specific point in the story? Because of the panning, I cannot simply hide the image and show it again with the new tinting values. So far, I came up with this, using an invisible white tint as a time...
by angelicdreamweaver
Thu Oct 26, 2023 5:25 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Transform with 360 degrees pan: first it works, than not?!
Replies: 8
Views: 3568

Re: [Solved] Transform with 360 degrees pan: first it works, than not?!

Thank you all for looking and helping!
I learned how to stitch the two images together like this:

Code: Select all

    image stitched = HBox(
            "test.jpg",
            im.Flip("test.jpg", horizontal=True),
            )
by angelicdreamweaver
Thu Oct 26, 2023 2:36 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Transform with 360 degrees pan: first it works, than not?!
Replies: 8
Views: 3568

Re: Transform with 360 degrees pan: first it works, than not?!

What does it say? http://www.22colors.de/error2.jpg File "game/script.rpy", line 20: screen expects a non-empty block. screen movement(): ^ File "game/script.rpy", line 22: end of line expected. key "K_RIGHT" action SetScreenVariable("panStep", panStep+1) ^ F...
by angelicdreamweaver
Thu Oct 26, 2023 12:29 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Transform with 360 degrees pan: first it works, than not?!
Replies: 8
Views: 3568

Re: Transform with 360 degrees pan: first it works, than not?!

screen movement(): default panStep = 0 key "K_RIGHT" action SetScreenVariable("panStep", panStep+1) key "K_LEFT" action SetScreenVariable("panStep", panStep-1) key "repeat_K_RIGHT" action SetScreenVariable("panStep", panStep+1) key "r...
by angelicdreamweaver
Thu Oct 26, 2023 8:42 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Transform with 360 degrees pan: first it works, than not?!
Replies: 8
Views: 3568

Re: Transform with 360 degrees pan: first it works, than not?!

So here is what you describe: Pan the whole panorama image, then flip it and pan "back", then flip back... Thank you for showing me the correct value for the xpan. I had it like that, than I asked AI to help with the code, and it made 1920 out of it, so I believed this would be true. I lo...
by angelicdreamweaver
Wed Oct 25, 2023 12:26 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Transform with 360 degrees pan: first it works, than not?!
Replies: 8
Views: 3568

[Solved] Transform with 360 degrees pan: first it works, than not?!

Hi, the strangest thing happened... I had a nice, slow 360 degree pan working that uses "parallel" to flip a 1920 x 1080 pixel image, so, once the panning over one image was done, it continued to pan with the flipped version. It worked well for a couple of hours, and then it stopped. Now, ...
by angelicdreamweaver
Tue Oct 24, 2023 7:35 pm
Forum: Ren'Py Questions and Announcements
Topic: Blinking character with full body image and close eye image
Replies: 8
Views: 5249

Re: Blinking character with full body image and close eye image

I really liked this approach and wanted to add a double blink every once in a while. So, I came up with the following (using the same "Leona" file names as in the initial thread). transform blink: alpha 0.0 pause renpy.random.randint(2, 5) choice 5: linear 0.1 alpha 1.0 0.1 linear 0.1 alph...