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

how to dynamically change text #9

Open
kaandedeoglu opened this issue Mar 23, 2012 · 1 comment
Open

how to dynamically change text #9

kaandedeoglu opened this issue Mar 23, 2012 · 1 comment

Comments

@kaandedeoglu
Copy link

I want to use the flipView as a scoreboard. So I just need two frames, I tried calling [flip printText:....] method to enter the new score before anytime I call [delegate startAnimation:]. But this gets very slow after a few calls, since I think it adds a new layer everytime. I understand I just need two animationFrames but I can't figure out how to change the text of an animation frame dynamically.. Any ideas ?

@Dillion
Copy link
Owner

Dillion commented Jul 13, 2012

Its not possible to render the text dynamically while animating, but you can try reusing the layers and only rendering before and after the flip

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