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 2: Player Movement

Learn how to create your own mini physics engine to move your sprite and get the specific behavior and feel you want for your game.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/1994-video-tutorial-how-to-make-a-game-like-flappy-bird-in-swift-part-2-player-movement

i’m making the flappy bird app but i’m facing some problems at func updatePlayer //apply gravity and apply velocity. It’s giving error and say cannot convert-value of type cgpoint to expected argument type cgfloat and for velocity it says the same thing. How can is solve this problem

@h_assa_n1992 I’m having the same problem as well.