Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Screen transform problem related to atl_st_offset #1243

Closed
arowana-vx opened this issue Sep 7, 2017 · 1 comment
Closed

Screen transform problem related to atl_st_offset #1243

arowana-vx opened this issue Sep 7, 2017 · 1 comment

Comments

@arowana-vx
Copy link

In the latest nightly (6.99.13.2717), some of my screen animations are acting weirdly. In particular, transforms are restarting/repeating when they aren't supposed to. Here is a sample script to demonstrate:

define e = Character("Eileen") 

transform frame_trans:
    align (0.5, 0.5)
    on hide:
        linear 5 zoom 0 

screen test_screen():
    timer 0.5 action Hide("test_screen")
    frame:
        at frame_trans
        text "Hello." size 200       

label start:
    scene bg room
    e "You've created a new Ren'Py game."
    show screen test_screen
    e "This word will disappear in 5 seconds. Click to advance before the word disappears."
    e "If you keep clicking before the word fully disappears, the transform repeats."
    e "Hmm, I wonder what's going on?"
    return

I suspect this recent commit for clearing atl_st_offset is related to the problem, since removing it makes my screens act normally again. Let me know if I should provide any more information, and thanks!

@renpytom
Copy link
Member

renpytom commented Sep 8, 2017

Thanks for another very useful report. I had a pretty good idea of what was wrong once I finished reading the code you provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants