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

Broken shader transitions #11

Closed
rainbowdesign opened this issue Feb 7, 2014 · 1 comment
Closed

Broken shader transitions #11

rainbowdesign opened this issue Feb 7, 2014 · 1 comment

Comments

@rainbowdesign
Copy link

https://gist.github.com/rainbowdesign/8872759

Hope its not my fault in the code.

@Zen-CODE
Copy link
Owner

Zen-CODE commented Jun 7, 2014

It's because you are using a different thread. If you change:

Timer(1, timing).start()

to

    from kivy.clock import Clock
    Clock.schedule_interval(lambda dt: timing(), 1)

it all seems to work? threading is a complicated thing: you want to avoid it wherever possible. The kivy.clock is your friend :-)

@Zen-CODE Zen-CODE closed this as completed Jun 7, 2014
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