[Solved] Image "shimmering" on ATL rotate

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
Swadian
Newbie
Posts: 12
Joined: Wed Mar 07, 2018 9:41 am
Skype: raresmocanu
Location: Romania
Contact:

[Solved] Image "shimmering" on ATL rotate

#1 Post by Swadian »

I'm trying to add a rotating object in my main menu (a metatron's cube to be precise).
I added the image with the following transform:

Code: Select all

transform lowerright:
    rotate 0
    xanchor 0.5 yanchor 0.5
    xpos 0.964 ypos 0.934
    linear 35 rotate 360
    repeat
It rotates and loops as intended, but it has a subtle "vibrating" effect or wiggle. I am wondering if I'm doing something wrong here.
At first I thought it was an optical illusion caused by the shape itself, but I can render a movie animation of it rotating with no problem. Then I tried removing the background, thinking it was due to the dissolve transition of the slideshow underneath, but it's visible even with the background removed.
Any suggestions?
Last edited by Swadian on Tue Mar 20, 2018 1:32 pm, edited 1 time in total.
Having a passion in anime is a great way to make friends.
For me it's the other way around. Getting friends came with the added clause of having to become an anime fan. Still not sure if it was worth it. :wink:

User avatar
trooper6
Lemma-Class Veteran
Posts: 3712
Joined: Sat Jul 09, 2011 10:33 pm
Projects: A Close Shave
Location: Medford, MA
Contact:

Re: Image "shimmering" on ATL rotate

#2 Post by trooper6 »

Try this:

Code: Select all

transform lowerright:
    xanchor 0.5 yanchor 0.5
    xpos 0.964 ypos 0.934
    rotate_pad True
    subpixel True
    rotate 0
    linear 35 rotate 360
    repeat
If that is still funky...try separating the rotate and the location into different things.
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?)
Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978

User avatar
Swadian
Newbie
Posts: 12
Joined: Wed Mar 07, 2018 9:41 am
Skype: raresmocanu
Location: Romania
Contact:

Re: Image "shimmering" on ATL rotate

#3 Post by Swadian »

Thank you very much for the assist, that fixed it. My background-and-GUI-artist sends you kisses.
Having a passion in anime is a great way to make friends.
For me it's the other way around. Getting friends came with the added clause of having to become an anime fan. Still not sure if it was worth it. :wink:

User avatar
trooper6
Lemma-Class Veteran
Posts: 3712
Joined: Sat Jul 09, 2011 10:33 pm
Projects: A Close Shave
Location: Medford, MA
Contact:

Re: Image "shimmering" on ATL rotate

#4 Post by trooper6 »

My pleasure!
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?)
Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot]