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
Learn about SKTextures and how to animate your sprites.
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