Jitter on zoom function [SOLVED]

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
fundogmo
Newbie
Posts: 15
Joined: Thu Feb 19, 2015 12:24 am
Projects: Wingin' In: Love Can Be Such a Dragon
Tumblr: boxofsquids
Location: NYC
Contact:

Jitter on zoom function [SOLVED]

#1 Post by fundogmo » Mon May 30, 2016 9:14 pm

This is probably another newbie question, but I'm generating a ton of jitter when trying to slowly zoom into a background.
show fullscreenimage with dissolve:
xpos 0.5 ypos 0.5 xanchor 0.5 yanchor 0.5
zoom .75
linear 8.0 zoom 1
Is this perhaps a downside of using Zoom, and there's possibly a better way?

Thanks!
Last edited by fundogmo on Tue May 31, 2016 10:10 am, edited 1 time in total.

User avatar
Donmai
Eileen-Class Veteran
Posts: 1919
Joined: Sun Jun 10, 2012 1:45 am
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
Projects: Slumberland
Location: Brazil
Contact:

Re: Jitter on zoom function

#2 Post by Donmai » Tue May 31, 2016 8:10 am

Try it using subpixel transform property:

Code: Select all

show fullscreenimage with dissolve:
    subpixel True
    xpos 0.5 ypos 0.5 xanchor 0.5 yanchor 0.5
    zoom .75
    linear 8.0 zoom 1
https://www.renpy.org/doc/html/atl.html ... y-subpixel
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

User avatar
fundogmo
Newbie
Posts: 15
Joined: Thu Feb 19, 2015 12:24 am
Projects: Wingin' In: Love Can Be Such a Dragon
Tumblr: boxofsquids
Location: NYC
Contact:

Re: Jitter on zoom function

#3 Post by fundogmo » Tue May 31, 2016 10:10 am

That worked PERFECTLY!

Thank you very much!

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], nyeowmi