Group Group Group Group Group Group Group Group Group

raywenderlich.com Forums

Video Tutorial: How to Make a Game Like Flappy Bird in Swift Part 10: Animation & Rotation

Learn about SKTextures and how to animate your sprites.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/3875-how-to-make-a-game-like-flappy-bird/lessons/11

Thnx for the amazing tutorial.

I have a question in the video to start the animation on felipe you called the animation method from the PlayingState, however in the AnimationComponent we run the animationStart method from within the update method and we do check if movement is allowed.
isn’t this kid of redundant? because if we don’t call the start animation method from the PlayingState the animation will start as soon as the bird(Felipe is initialized) because it runs from the update method of the AnimationComponent.

Thank you for clarifying